Package com.azure.security.keyvault.jca
Class KeyVaultLoadStoreParameter
java.lang.Object
com.azure.security.keyvault.jca.KeyVaultLoadStoreParameter
- All Implemented Interfaces:
KeyStore.LoadStoreParameter
The Azure Key Vault LoadStoreParameter of the KeyStoreSpi.
- See Also:
-
Constructor Summary
ConstructorDescriptionKeyVaultLoadStoreParameter
(String keyVaultUri) Constructor.KeyVaultLoadStoreParameter
(String keyVaultUri, String managedIdentity) Constructor.KeyVaultLoadStoreParameter
(String keyVaultUri, String tenantId, String clientId, String clientSecret) Constructor.KeyVaultLoadStoreParameter
(String keyVaultUri, String tenantId, String clientId, String clientSecret, String managedIdentity) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Disables verifying if the authentication challenge resource matches the Key Vault or Managed HSM domain.Get the client id.Get the client secret.Get the Managed Identity.Get the protection parameter.Get the tenant id.getUri()
Get the Azure Key Vault URI.
-
Constructor Details
-
KeyVaultLoadStoreParameter
Constructor.- Parameters:
keyVaultUri
- The Azure Key Vault URI.
-
KeyVaultLoadStoreParameter
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
Get the protection parameter.- Specified by:
getProtectionParameter
in interfaceKeyStore.LoadStoreParameter
- Returns:
null
.
-
getClientId
Get the client id.- Returns:
- The client id.
-
getClientSecret
Get the client secret.- Returns:
- The client secret.
-
getManagedIdentity
Get the Managed Identity.- Returns:
- The Managed Identity.
-
getTenantId
Get the tenant id.- Returns:
- the tenant id.
-
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.
-