Package com.azure.security.keyvault.jca
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.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultLoadStoreParameter(String uri)Constructor.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClientId()Get the client id.StringgetClientSecret()Get the client secret.StringgetManagedIdentity()Get the managed identity.KeyStore.ProtectionParametergetProtectionParameter()Get the protection parameter.StringgetTenantId()Get the tenant id.StringgetUri()Get the uri.
-
-
-
Constructor Detail
-
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 Detail
-
getProtectionParameter
public KeyStore.ProtectionParameter getProtectionParameter()
Get the protection parameter.- Specified by:
getProtectionParameterin interfaceKeyStore.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.
-
-