Interface TokenCredentialProvider


public interface TokenCredentialProvider
Provides ability to generate Token Credential for connecting to Azure services.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.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

      com.azure.core.credential.TokenCredential credentialForAppConfig(String uri)
      Returns a TokenCredential that will be used for connecting to Azure App Configuration.
      Parameters:
      uri - URI to App Configuration Store
      Returns:
      TokenCredential
    • credentialForKeyVault

      com.azure.core.credential.TokenCredential credentialForKeyVault(String uri)
      Returns a TokenCredential that will be used for connecting to Azure Key Vault.
      Parameters:
      uri - URI to Key Vault Instance
      Returns:
      TokenCredential