Freigeben über


AzureKeyVaultConfigurationExtensions.AddAzureKeyVault Methode

Definition

Überlädt

AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

AddAzureKeyVault(IConfigurationBuilder, SecretClient, AzureKeyVaultConfigurationOptions)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Azure.Security.KeyVault.Secrets.SecretClient client, Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions options);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Azure.Security.KeyVault.Secrets.SecretClient * Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, client As SecretClient, options As AzureKeyVaultConfigurationOptions) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

client
SecretClient

Der SecretClient, der zum Abrufen von Werten verwendet werden soll.

Gibt zurück

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, SecretClient, KeyVaultSecretManager)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Azure.Security.KeyVault.Secrets.SecretClient client, Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Azure.Security.KeyVault.Secrets.SecretClient * Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, client As SecretClient, manager As KeyVaultSecretManager) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

client
SecretClient

Der SecretClient, der zum Abrufen von Werten verwendet werden soll.

manager
KeyVaultSecretManager

Die KeyVaultSecretManager-Instanz, die zum Steuern des geheimen Ladevorgangs verwendet wird.

Gibt zurück

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Uri vaultUri, Azure.Core.TokenCredential credential);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Uri * Azure.Core.TokenCredential -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vaultUri As Uri, credential As TokenCredential) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

vaultUri
Uri

Der Azure Key Vault-URI.

credential
TokenCredential

Die Anmeldeinformationen, die für die Authentifizierung verwendet werden sollen.

Gibt zurück

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, AzureKeyVaultConfigurationOptions)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions options);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Uri * Azure.Core.TokenCredential * Azure.Extensions.AspNetCore.Configuration.Secrets.AzureKeyVaultConfigurationOptions -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vaultUri As Uri, credential As TokenCredential, options As AzureKeyVaultConfigurationOptions) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

vaultUri
Uri

Azure Key Vault URI.

credential
TokenCredential

Die Anmeldeinformationen, die für die Authentifizierung verwendet werden sollen.

Gibt zurück

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, Uri, TokenCredential, KeyVaultSecretManager)

Fügt einen IConfigurationProvider hinzu, der Konfigurationswerte aus Azure KeyVault liest.

public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Uri vaultUri, Azure.Core.TokenCredential credential, Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Uri * Azure.Core.TokenCredential * Azure.Extensions.AspNetCore.Configuration.Secrets.KeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vaultUri As Uri, credential As TokenCredential, manager As KeyVaultSecretManager) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

Die IConfigurationBuilder-Schnittstelle, der etwas hinzugefügt werden soll.

vaultUri
Uri

Azure Key Vault URI.

credential
TokenCredential

Die Anmeldeinformationen, die für die Authentifizierung verwendet werden sollen.

manager
KeyVaultSecretManager

Die KeyVaultSecretManager-Instanz, die zum Steuern des geheimen Ladevorgangs verwendet wird.

Gibt zurück

Die IConfigurationBuilder.

Gilt für: