Encryption Class
- java.
lang. Object - com.
microsoft. azure. management. storage. Encryption
- com.
public class Encryption
The encryption settings on the storage account.
Constructor Summary
Constructor | Description | |
---|---|---|
Encryption() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Key |
keySource()
Get the encryption key |
Key |
keyVaultProperties()
Get properties provided by key vault. |
java.lang.Boolean |
requireInfrastructureEncryption()
Get a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. |
Encryption |
services()
Get list of services which support encryption. |
Encryption |
withKeySource(KeySource keySource)
Set the encryption key |
Encryption |
withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set properties provided by key vault. |
Encryption |
withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. |
Encryption |
withServices(EncryptionServices services)
Set list of services which support encryption. |
Methods inherited from java.lang.Object
Constructor Details
Encryption
public Encryption()
Method Details
keySource
public KeySource keySource()
Get the encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
Returns:
keyVaultProperties
public KeyVaultProperties keyVaultProperties()
Get properties provided by key vault.
Returns:
requireInfrastructureEncryption
public Boolean requireInfrastructureEncryption()
Get a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
Returns:
services
public EncryptionServices services()
Get list of services which support encryption.
Returns:
withKeySource
public Encryption withKeySource(KeySource keySource)
Set the encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'.
Parameters:
Returns:
withKeyVaultProperties
public Encryption withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
Set properties provided by key vault.
Parameters:
Returns:
withRequireInfrastructureEncryption
public Encryption withRequireInfrastructureEncryption(Boolean requireInfrastructureEncryption)
Set a boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest.
Parameters:
Returns:
withServices
public Encryption withServices(EncryptionServices services)
Set list of services which support encryption.
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