Package com.azure.spring.cloud.config
Interface TokenCredentialProvider
public interface TokenCredentialProvider
Provides ability to generate Token Credential for connecting to Azure services.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.credential.TokenCredential
Returns a TokenCredential that will be used for connecting to Azure App Configuration.com.azure.core.credential.TokenCredential
Returns a TokenCredential that will be used for connecting to Azure Key Vault.
-
Method Details
-
credentialForAppConfig
Returns a TokenCredential that will be used for connecting to Azure App Configuration.- Parameters:
uri
- URI to App Configuration Store- Returns:
- TokenCredential
-
credentialForKeyVault
Returns a TokenCredential that will be used for connecting to Azure Key Vault.- Parameters:
uri
- URI to Key Vault Instance- Returns:
- TokenCredential
-