Skip to content
Docs Try Aspire

IAzureKeyVaultResource Methods

Interface Methods 1 member
Represents a resource that represents an Azure Key Vault.
Gets a secret reference for the specified secret name.
public interface IAzureKeyVaultResource
{
public abstract IAzureKeyVaultSecretReference GetSecret(
string secretName)
{
// ...
}
}
secretName string The name of the secret.
IAzureKeyVaultSecretReference A reference to the secret.