Skip to content
DocsTry Aspire
DocsTry

IAzureKeyVaultSecretReference Properties

InterfaceProperties3 members
Represents a reference to a secret in an Azure Key Vault resource.
Gets the Azure Key Vault resource.
public abstract IAzureKeyVaultResource Resource { get; }
SecretNameSection titled SecretNameabstractstring
Gets the name of the secret.
public abstract string SecretName { get; }
SecretOwnerSection titled SecretOwnervirtualnullableIResource?
Gets or sets the resource that writes this secret to the Key Vault.
public virtual IResource? SecretOwner { get; set; }
Implementers must provide both a getter and setter for this property. If not implemented, attempts to set IAzureKeyVaultSecretReference.SecretOwner will throw an exception.