Policy: Azure > Storage > Storage Account > Encryption at Rest > Customer Managed Key
Define the KMS key ID for encryption at rest.
Encryption at Rest refers specifically to the encryption of data when written to an underlying storage system. This control determines whether the resource is encrypted at rest, and sets encryption to your desired level.
The Encryption at Rest control compares the encryption settings against the encryption policies for the resource (Azure > Storage > StorageAccount > Encryption at Rest > *
), raises an alarm, and takes the defined enforcement action
Please make sure the key defined in the template has required permissions. Note: Ensure that the key vault key should assign Key Vault Crypto Officer
role to the storage account.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Examples [YAML] | https://testvault.vault.azure.net/keys/turbot-default-key |
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceEncryptionAtRest
- tmod:@turbot/azure-storage#/policy/types/storageAccountEncryptionAtRestCustomerManagedKey
- turbot graphql policy-type --id "tmod:@turbot/azure-storage#/policy/types/storageAccountEncryptionAtRestCustomerManagedKey"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-storage#/policy/types/storageAccountEncryptionAtRestCustomerManagedKey"
Get Policy TypeGet Policy Settings