Share via


AzureKeyVaultResourceExtensions Class

Definition

Provides extension methods for adding the Azure Key Vault resources to the application model.

public static class AzureKeyVaultResourceExtensions
type AzureKeyVaultResourceExtensions = class
Public Module AzureKeyVaultResourceExtensions
Inheritance
AzureKeyVaultResourceExtensions

Methods

AddAzureKeyVault(IDistributedApplicationBuilder, String, Action<IResourceBuilder<AzureKeyVaultResource>,ResourceModuleConstruct,KeyVault>)

Adds an Azure Key Vault resource to the application model.

AddAzureKeyVault(IDistributedApplicationBuilder, String)

Adds an Azure Key Vault resource to the application model.

AddSecret(IResourceBuilder<AzureKeyVaultResource>, String, IResourceBuilder<ParameterResource>)

Adds a secret to the Azure Key Vault resource with the value from a parameter resource.

AddSecret(IResourceBuilder<AzureKeyVaultResource>, String, ParameterResource)

Adds a secret to the Azure Key Vault resource with the value from a parameter resource.

AddSecret(IResourceBuilder<AzureKeyVaultResource>, String, ReferenceExpression)

Adds a secret to the Azure Key Vault resource with the value from a reference expression.

AddSecret(IResourceBuilder<AzureKeyVaultResource>, String, String, IResourceBuilder<ParameterResource>)

Adds a secret to the Azure Key Vault resource with the value from a parameter resource.

AddSecret(IResourceBuilder<AzureKeyVaultResource>, String, String, ParameterResource)

Adds a secret to the Azure Key Vault resource with the value from a parameter resource.

AddSecret(IResourceBuilder<AzureKeyVaultResource>, String, String, ReferenceExpression)

Adds a secret to the Azure Key Vault resource with the value from a reference expression.

GetSecret(IResourceBuilder<AzureKeyVaultResource>, String)

Gets a secret reference for the specified secret name from the Azure Key Vault resource.

WithRoleAssignments<T>(IResourceBuilder<T>, IResourceBuilder<AzureKeyVaultResource>, KeyVaultBuiltInRole[])

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.

Applies to