AzureKeyVaultConfigurationExtensions.AddAzureKeyVault Methode

Definition

Überlädt

AddAzureKeyVault(IConfigurationBuilder, AzureKeyVaultConfigurationOptions)

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

AddAzureKeyVault(IConfigurationBuilder, String)

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

AddAzureKeyVault(IConfigurationBuilder, String, IKeyVaultSecretManager)

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

AddAzureKeyVault(IConfigurationBuilder, String, KeyVaultClient, IKeyVaultSecretManager)

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

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2)

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

AddAzureKeyVault(IConfigurationBuilder, String, String, String)

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

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2, IKeyVaultSecretManager)

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

AddAzureKeyVault(IConfigurationBuilder, String, String, String, IKeyVaultSecretManager)

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

AddAzureKeyVault(IConfigurationBuilder, AzureKeyVaultConfigurationOptions)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, Microsoft::Extensions::Configuration::AzureKeyVault::AzureKeyVaultConfigurationOptions ^ options);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, Microsoft.Extensions.Configuration.AzureKeyVault.AzureKeyVaultConfigurationOptions options);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * Microsoft.Extensions.Configuration.AzureKeyVault.AzureKeyVaultConfigurationOptions -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, options As AzureKeyVaultConfigurationOptions) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String, IKeyVaultSecretManager)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

manager
IKeyVaultSecretManager

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

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String, KeyVaultClient, IKeyVaultSecretManager)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, Microsoft::Azure::KeyVault::KeyVaultClient ^ client, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, Microsoft.Azure.KeyVault.KeyVaultClient client, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * Microsoft.Azure.KeyVault.KeyVaultClient * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, client As KeyVaultClient, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

client
KeyVaultClient

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

manager
IKeyVaultSecretManager

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

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, certificate As X509Certificate2) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

clientId
String

Die Anwendungsclient-ID.

certificate
X509Certificate2

Das X509Certificate2, das für die Authentifizierung verwendet werden soll.

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String, String, String)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::String ^ clientSecret);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, string clientSecret);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * string -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, clientSecret As String) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

clientId
String

Die Anwendungsclient-ID.

clientSecret
String

Der geheime Clientschlüssel, der für die Authentifizierung verwendet wird.

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String, String, X509Certificate2, IKeyVaultSecretManager)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * System.Security.Cryptography.X509Certificates.X509Certificate2 * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, certificate As X509Certificate2, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

clientId
String

Die Anwendungsclient-ID.

certificate
X509Certificate2

Das X509Certificate2, das für die Authentifizierung verwendet werden soll.

manager
IKeyVaultSecretManager

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

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für:

AddAzureKeyVault(IConfigurationBuilder, String, String, String, IKeyVaultSecretManager)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::Configuration::IConfigurationBuilder ^ AddAzureKeyVault(Microsoft::Extensions::Configuration::IConfigurationBuilder ^ configurationBuilder, System::String ^ vault, System::String ^ clientId, System::String ^ clientSecret, Microsoft::Extensions::Configuration::AzureKeyVault::IKeyVaultSecretManager ^ manager);
public static Microsoft.Extensions.Configuration.IConfigurationBuilder AddAzureKeyVault (this Microsoft.Extensions.Configuration.IConfigurationBuilder configurationBuilder, string vault, string clientId, string clientSecret, Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager manager);
static member AddAzureKeyVault : Microsoft.Extensions.Configuration.IConfigurationBuilder * string * string * string * Microsoft.Extensions.Configuration.AzureKeyVault.IKeyVaultSecretManager -> Microsoft.Extensions.Configuration.IConfigurationBuilder
<Extension()>
Public Function AddAzureKeyVault (configurationBuilder As IConfigurationBuilder, vault As String, clientId As String, clientSecret As String, manager As IKeyVaultSecretManager) As IConfigurationBuilder

Parameter

configurationBuilder
IConfigurationBuilder

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

vault
String

Der Azure KeyVault-URI.

clientId
String

Die Anwendungsclient-ID.

clientSecret
String

Der geheime Clientschlüssel, der für die Authentifizierung verwendet wird.

manager
IKeyVaultSecretManager

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

Gibt zurück

IConfigurationBuilder

Die IConfigurationBuilder.

Gilt für: