Soru

Zorluk: OrtaConfigure Storage Encryption and Customer-Managed Keys

Synergy Cloud Solutions has an Azure subscription named sub-synergy-prod. You deploy an Azure Storage account named sasynergydata and an Azure Key Vault named kvsynergykeys to implement customer-managed keys (CMK) for storage encryption.

The storage account is configured to use a system-assigned managed identity. The Key Vault has soft-delete enabled, purge protection disabled, and is configured to use the Azure RBAC permission model for data plane authorization.

Which of the following configuration changes must you perform to successfully enable customer-managed keys for the storage account? (Select TWO.)

  1. Enable purge protection on kvsynergykeys.Cevap
  2. Assign the Key Vault Crypto Service Encryption User role to the storage account's system-assigned managed identity on kvsynergykeys.Cevap
  3. C
    Assign the Key Vault Contributor role to the storage account's system-assigned managed identity on kvsynergykeys.
  4. D
    Disable the 'Allow trusted Microsoft services to access this storage account' option in the storage account firewall settings.

Cevap

Enable purge protection on the Key Vault, and assign the Key Vault Crypto Service Encryption User role to the storage account's system-assigned managed identity on the Key Vault.
To configure customer-managed keys (CMK) for Azure Storage encryption: 1) The Key Vault must have both soft-delete and purge protection enabled to safeguard the encryption keys from accidental or malicious deletion. Since purge protection was disabled, it must be enabled. 2) Because the Key Vault is configured with the Azure RBAC permission model, the storage account's system-assigned managed identity requires data plane permissions to read and utilize the key. Assigning the Key Vault Crypto Service Encryption User role to the identity grants the necessary data plane permissions (wrap, unwrap, and get key) on the Key Vault.

Adım Adım Çözüm

1
Enable Key Vault Purge Protection
Purge protection is enabled on the Key Vault, satisfying the requirement that Azure Storage encryption keys are protected against permanent deletion.
Azure Storage requires both soft-delete and purge protection to be enabled on the Key Vault referencing the encryption key.
2
Assign RBAC Data Plane Role to Storage Managed Identity
The Key Vault Crypto Service Encryption User role is assigned to the storage account's system-assigned managed identity on the Key Vault.
Since the Key Vault uses Azure RBAC for data plane authorization, the storage identity must be granted data plane permissions (wrap, unwrap, and get key) to use the key for encryption.

Anahtar Kavram

Azure Storage customer-managed key encryption prerequisites and data plane RBAC permissions.
Bu soruyu puanla