Interface StorageAccount.DefinitionStages.WithEncryption
- All Known Subinterfaces:
StorageAccount.Definition,StorageAccount.DefinitionStages.WithCreate,StorageAccount.DefinitionStages.WithCreateAndAccessTier
- Enclosing interface:
- StorageAccount.DefinitionStages
public static interface StorageAccount.DefinitionStages.WithEncryption
The stage of a storage account definition allowing to specify encryption settings.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Azure Storage encryption cannot be disabled.withEncryptionKeyFromKeyVault(String keyVaultUri, String keyName, String keyVersion) Specifies the KeyVault key to be used as encryption key.Deprecated.Azure Storage encryption cannot be disabled.Enables the infrastructure encryption for double encryption of Azure Storage data.Deprecated.Azure Storage encryption cannot be disabled.Deprecated.Azure Storage encryption cannot be disabled.Specifies that queue service uses an encryption key that is scoped to the account.Specifies that table service uses an encryption key that is scoped to the account.
-
Method Details
-
withInfrastructureEncryption
StorageAccount.DefinitionStages.WithCreate withInfrastructureEncryption()Enables the infrastructure encryption for double encryption of Azure Storage data.- Returns:
- the next stage of storage account definition
-
withBlobEncryption
Deprecated.Azure Storage encryption cannot be disabled.Specifies that encryption needs be enabled for blob service.- Returns:
- the next stage of storage account definition
-
withoutBlobEncryption
Deprecated.Azure Storage encryption cannot be disabled.Disables encryption for blob service.- Returns:
- the next stage of storage account definition
-
withFileEncryption
Deprecated.Azure Storage encryption cannot be disabled.Specifies that encryption needs be enabled for file service.- Returns:
- the next stage of storage account definition
-
withoutFileEncryption
Deprecated.Azure Storage encryption cannot be disabled.Disables encryption for file service.- Returns:
- he next stage of storage account definition
-
withTableAccountScopedEncryptionKey
StorageAccount.DefinitionStages.WithCreate withTableAccountScopedEncryptionKey()Specifies that table service uses an encryption key that is scoped to the account. Customer-managed key can then be enabled for table service. Refer toStorageAccount.UpdateStages.WithEncryption.withEncryptionKeyFromKeyVault(String, String, String)to enable customer-managed key.- Returns:
- the next stage of storage account definition
-
withQueueAccountScopedEncryptionKey
StorageAccount.DefinitionStages.WithCreate withQueueAccountScopedEncryptionKey()Specifies that queue service uses an encryption key that is scoped to the account. Customer-managed key can then be enabled for queue service. Refer toStorageAccount.UpdateStages.WithEncryption.withEncryptionKeyFromKeyVault(String, String, String)to enable customer-managed key.- Returns:
- the next stage of storage account definition
-
withEncryptionKeyFromKeyVault
StorageAccount.DefinitionStages.WithCreate withEncryptionKeyFromKeyVault(String keyVaultUri, String keyName, String keyVersion) Specifies the KeyVault key to be used as encryption key. This requires managed service identity on storage account and GET, WRAP_KEY, UNWRAP_KEY access policy on key vault for the managed service identity.- Parameters:
keyVaultUri- the uri to KeyVaultkeyName- the KeyVault key namekeyVersion- the KeyVault key version- Returns:
- the next stage of storage account definition
-