Watch Aspire live streamsDocsTry Aspire

addKeyVaultSecret

Method
📦 Aspire.Hosting.Azure.Provisioning.KeyVault v13.6.0-preview.1.26478.8
interface AzureResourceInfrastructure {
// ... omitted for brevity
addKeyVaultSecret(
bicepIdentifier: string,
resourceVersion?: string): KeyVaultSecretProxy;
}

Signature

methodaddKeyVaultSecret
Adds a KeyVaultSecret provisioning model.
addKeyVaultSecret(
bicepIdentifier: string,
resourceVersion?: string): KeyVaultSecretProxy
bicepIdentifierstring
resourceVersionstringoptional
KeyVaultSecretProxy

Applies to

This method applies to the following types: