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
ConstructorsConstructorDescriptionKeyVaultLoadStoreParameter(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 TypeMethodDescriptionvoidDisables verifying if the authentication challenge resource matches the Key Vault or Managed HSM domain.Get the access token.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.setAccessToken(String accessToken) Set the access token.
-
Constructor Details
-
KeyVaultLoadStoreParameter
Constructor.- Parameters:
keyVaultUri- The Azure Key Vault URI.
-
KeyVaultLoadStoreParameter
-
KeyVaultLoadStoreParameter
-
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:
getProtectionParameterin interfaceKeyStore.LoadStoreParameter- Returns:
null.
-
getClientId
-
getClientSecret
-
getManagedIdentity
-
setAccessToken
Set the access token.- Parameters:
accessToken- The access token.- Returns:
- The KeyVaultLoadStoreParameter.
-
getAccessToken
-
getTenantId
-
getUri
-
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.
-