Aspire.Hosting.Azure.KeyVault
Official
📦 Aspire.Hosting.Azure.KeyVaultv13.4.04Functions
3Types
3 types and 0 members
Types
Functions
method
addAzureKeyVaultbuilderAdds an Azure Key Vault resource to the application model.
addAzureKeyVault(name: string): AzureKeyVaultResourcemethod
addSecretbuilderAdds a secret to the Azure Key Vault
addSecret(name: string, value: ReferenceExpression, secretName?: string): AzureKeyVaultSecretResourcemethod
getSecretGets a secret reference for the specified secret name from the Azure Key Vault resource.
getSecret(secretName: string): IAzureKeyVaultSecretReferencemethod
withKeyVaultRoleAssignmentsbuilderAssigns 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