Partilhar via


AzureAppConfigurationKeyVaultOptions.SetCredential(TokenCredential) Método

Definição

Define as credenciais usadas para autenticar em cofres de chaves que não têm nenhum 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

Credenciais de token padrão.

Retornos

Aplica-se a