AzureAppConfigurationKeyVaultOptions.SetCredential(TokenCredential) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the credentials used to authenticate to key vaults that have no registered 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
Parameters
- credential
- TokenCredential
Default token credentials.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET