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 uri)
      Constructor.
      Parameters:
      uri - the Azure Key Vault URI.
    • KeyVaultLoadStoreParameter

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

      public KeyVaultLoadStoreParameter(String uri, String tenantId, String clientId, String clientSecret)
      Constructor.
      Parameters:
      uri - the Azure Key Vault URI.
      tenantId - the tenant ID.
      clientId - the client ID.
      clientSecret - the client secret.
    • KeyVaultLoadStoreParameter

      public KeyVaultLoadStoreParameter(String uri, String tenantId, String clientId, String clientSecret, String managedIdentity)
      Constructor.
      Parameters:
      uri - the Azure Key Vault URI.
      tenantId - the tenant ID.
      clientId - the client ID.
      clientSecret - the client secret.
      managedIdentity - the managedIdentity.
  • 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 uri.
      Returns:
      the URI.