public final class EncryptionConfiguration extends Object
| Constructor and Description |
|---|
EncryptionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CmkIdentityDefinition |
identity()
Get the identity property: User assigned identity to use to authenticate to customer's key vault.
|
String |
keyName()
Get the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.
|
String |
keyVersion()
Get the keyVersion property: The version of the key used for CMK.
|
void |
validate()
Validates the instance.
|
String |
vaultBaseUrl()
Get the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.
|
EncryptionConfiguration |
withIdentity(CmkIdentityDefinition identity)
Set the identity property: User assigned identity to use to authenticate to customer's key vault.
|
EncryptionConfiguration |
withKeyName(String keyName)
Set the keyName property: The name of the key in Azure Key Vault to use as Customer Managed Key.
|
EncryptionConfiguration |
withKeyVersion(String keyVersion)
Set the keyVersion property: The version of the key used for CMK.
|
EncryptionConfiguration |
withVaultBaseUrl(String vaultBaseUrl)
Set the vaultBaseUrl property: The url of the Azure Key Vault used for CMK.
|
public String keyName()
public EncryptionConfiguration withKeyName(String keyName)
keyName - the keyName value to set.public String vaultBaseUrl()
public EncryptionConfiguration withVaultBaseUrl(String vaultBaseUrl)
vaultBaseUrl - the vaultBaseUrl value to set.public String keyVersion()
public EncryptionConfiguration withKeyVersion(String keyVersion)
keyVersion - the keyVersion value to set.public CmkIdentityDefinition identity()
public EncryptionConfiguration withIdentity(CmkIdentityDefinition identity)
identity - the identity value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.