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
ConstructorsConstructorDescriptionConstructor.KeyVaultLoadStoreParameter(String uri, String managedIdentity) Constructor.KeyVaultLoadStoreParameter(String uri, String tenantId, String clientId, String clientSecret) Constructor.KeyVaultLoadStoreParameter(String uri, String tenantId, String clientId, String clientSecret, String managedIdentity) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the client id.Get the client secret.Get the managed identity.Get the protection parameter.Get the tenant id.getUri()Get the uri.
-
Constructor Details
-
KeyVaultLoadStoreParameter
Constructor.- Parameters:
uri- the Azure Key Vault URI.
-
KeyVaultLoadStoreParameter
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
Get the protection parameter.- Specified by:
getProtectionParameterin 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 uri.- Returns:
- the URI.
-