Aspire.Hosting.Azure.KeyVault
Official
📦 Aspire.Hosting.Azure.KeyVault v13.4.0 4 Functions
3 Types
3 types and 0 members
Types
Functions
method
addAzureKeyVault builder Adds an Azure Key Vault resource to the application model.
addAzureKeyVault(name: string): AzureKeyVaultResource method
addSecret builder Adds a secret to the Azure Key Vault
addSecret(name: string, value: ReferenceExpression, secretName?: string): AzureKeyVaultSecretResource method
getSecret Gets a secret reference for the specified secret name from the Azure Key Vault resource.
getSecret(secretName: string): IAzureKeyVaultSecretReference method
withKeyVaultRoleAssignments builder Assigns the specified roles to the given resource, granting it the necessary permissions on the target Azure Key Vault resource. This replaces the default role assignments for the resource.
withKeyVaultRoleAssignments(target: AzureKeyVaultResource, roles: AzureKeyVaultRole[]): IResource