Class KeyVaultLoadStoreParameter

java.lang.Object
com.azure.security.keyvault.jca.KeyVaultLoadStoreParameter
All Implemented Interfaces:
KeyStore.LoadStoreParameter

public final class KeyVaultLoadStoreParameter extends Object implements KeyStore.LoadStoreParameter
The Azure Key Vault LoadStoreParameter of the KeyStoreSpi.
See Also:
  • Constructor Details

    • KeyVaultLoadStoreParameter

      public KeyVaultLoadStoreParameter(String keyVaultUri)
      Constructor.
      Parameters:
      keyVaultUri - The Azure Key Vault URI.
    • KeyVaultLoadStoreParameter

      public KeyVaultLoadStoreParameter(String keyVaultUri, String managedIdentity)
      Constructor.
      Parameters:
      keyVaultUri - The Azure Key Vault URI.
      managedIdentity - The managed identity.
    • KeyVaultLoadStoreParameter

      public KeyVaultLoadStoreParameter(String keyVaultUri, String tenantId, String clientId, String clientSecret)
      Constructor.
      Parameters:
      keyVaultUri - The Azure Key Vault URI.
      tenantId - The tenant id.
      clientId - The client id.
      clientSecret - The client secret.
    • KeyVaultLoadStoreParameter

      public KeyVaultLoadStoreParameter(String keyVaultUri, String tenantId, String clientId, String clientSecret, String managedIdentity)
      Constructor.
      Parameters:
      keyVaultUri - The Azure Key Vault URI.
      tenantId - The tenant id.
      clientId - The client id.
      clientSecret - The client secret.
      managedIdentity - The managed identity.
  • Method Details

    • getProtectionParameter

      public KeyStore.ProtectionParameter getProtectionParameter()
      Get the protection parameter.
      Specified by:
      getProtectionParameter in interface KeyStore.LoadStoreParameter
      Returns:
      null.
    • getClientId

      public String getClientId()
      Get the client id.
      Returns:
      The client id.
    • getClientSecret

      public String getClientSecret()
      Get the client secret.
      Returns:
      The client secret.
    • getManagedIdentity

      public String getManagedIdentity()
      Get the Managed Identity.
      Returns:
      The Managed Identity.
    • getTenantId

      public String getTenantId()
      Get the tenant id.
      Returns:
      the tenant id.
    • getUri

      public String getUri()
      Get the Azure Key Vault URI.
      Returns:
      The Azure Key Vault URI.
    • disableChallengeResourceVerification

      public void disableChallengeResourceVerification()
      Disables verifying if the authentication challenge resource matches the Key Vault or Managed HSM domain. This verification is performed by default.