EncryptionConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. EncryptionConfiguration
- com.
public final class EncryptionConfiguration
Definition of CMK for the factory.
Constructor Summary
Constructor | Description |
---|---|
EncryptionConfiguration() |
Creates an instance of Encryption |
Method Summary
Modifier and Type | Method and Description |
---|---|
Cmk |
identity()
Get the identity property: User assigned identity to use to authenticate to customer's key vault. |
String |
keyName()
Get the key |
String |
keyVersion()
Get the key |
void |
validate()
Validates the instance. |
String |
vaultBaseUrl()
Get the vault |
Encryption |
withIdentity(CmkIdentityDefinition identity)
Set the identity property: User assigned identity to use to authenticate to customer's key vault. |
Encryption |
withKeyName(String keyName)
Set the key |
Encryption |
withKeyVersion(String keyVersion)
Set the key |
Encryption |
withVaultBaseUrl(String vaultBaseUrl)
Set the vault |
Methods inherited from java.lang.Object
Constructor Details
EncryptionConfiguration
public EncryptionConfiguration()
Creates an instance of EncryptionConfiguration class.
Method Details
identity
public CmkIdentityDefinition identity()
Get the identity property: User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used.
Returns:
keyName
public String keyName()
Get the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: The version of the key used for CMK. If not provided, latest version will be used.
Returns:
validate
public void validate()
Validates the instance.
vaultBaseUrl
public String vaultBaseUrl()
Get the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.
Returns:
withIdentity
public EncryptionConfiguration withIdentity(CmkIdentityDefinition identity)
Set the identity property: User assigned identity to use to authenticate to customer's key vault. If not provided Managed Service Identity will be used.
Parameters:
Returns:
withKeyName
public EncryptionConfiguration withKeyName(String keyName)
Set the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.
Parameters:
Returns:
withKeyVersion
public EncryptionConfiguration withKeyVersion(String keyVersion)
Set the keyVersion property: The version of the key used for CMK. If not provided, latest version will be used.
Parameters:
Returns:
withVaultBaseUrl
public EncryptionConfiguration withVaultBaseUrl(String vaultBaseUrl)
Set the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for