Compartir a través de


AzureAppConfigurationKeyVaultOptions.SetCredential(TokenCredential) Método

Definición

Establece las credenciales usadas para autenticarse en almacenes de claves que no tienen registrado SecretClient.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions SetCredential (Azure.Core.TokenCredential credential);
member this.SetCredential : Azure.Core.TokenCredential -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationKeyVaultOptions
Public Function SetCredential (credential As TokenCredential) As AzureAppConfigurationKeyVaultOptions

Parámetros

credential
TokenCredential

Credenciales de token predeterminadas.

Devoluciones

Se aplica a