BitwardenSecretResource
Classnet10.0
Represents a Bitwarden secret resource.
namespace Aspire.Hosting.ApplicationModel;
public class BitwardenSecretResource : Aspire.Hosting.ApplicationModel.ParameterResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.BitwardenSecretManagerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ParameterResourceIManifestExpressionProviderIResourceIResourceWithParentIResourceWithParent<BitwardenSecretManagerResource>IValueProviderIValueWithReferences
6 members
Constructors1
Section titled ConstructorsBitwardenSecretResource(string, string, BitwardenSecretManagerResource, Func<ParameterDefault?, string>) Initializes a new instance of the
BitwardenSecretResource class for a managed secret. Properties5
Section titled PropertiesIsManagedgetbool Gets a value indicating whether this resource is a managed secret (owned and written by Aspire) as opposed to a reference-only secret (read from an existing Bitwarden secret).
Parentget Gets the owning Bitwarden resource.
RemoteNamegetstring Gets the Bitwarden secret name.
ResolvedSecretIdgetGuid? Gets the effective Bitwarden secret identifier: the explicitly configured ID if set, otherwise the resolved ID.
SecretIdgetGuid? Gets the resolved Bitwarden secret identifier after initialization.