Luminary Financials has an Azure subscription named sub-luminary-prod. The subscription contains the following resources:
* An Azure Storage account named saluminarydata configured to use a user-assigned managed identity named uami-storage-enc for encryption.
* An Azure Key Vault named kv-luminary-keys that has soft-delete and purge protection enabled, and is configured to use Azure role-based access control (Azure RBAC) for authorization.
You need to configure saluminarydata to encrypt its data using a customer-managed key stored in kv-luminary-keys by using the uami-storage-enc identity.
Which role assignment is required on kv-luminary-keys to successfully configure the storage encryption?
- AAssign the Key Vault Contributor role to the uami-storage-enc identity
- Assign the Key Vault Crypto Service User role to the uami-storage-enc identityCevap
- CAssign the Key Vault Crypto Service User role to the saluminarydata system-assigned identity
- DAssign the Key Vault Reader role to the uami-storage-enc identity
Cevap
Assign the Key Vault Crypto Service User role to the uami-storage-enc identity
To configure storage account encryption with customer-managed keys (CMK) using a user-assigned managed identity when the Key Vault uses Azure RBAC, the identity must be granted data-plane permissions. Assigning the Key Vault Crypto Service User role to the user-assigned managed identity is the correct approach because it provides the required permissions to perform key wrap and unwrap operations.
Adım Adım Çözüm
Anahtar Kavram
To configure customer-managed keys (CMK) for Azure Storage encryption when the target Key Vault uses Azure RBAC, the identity used by the storage account must be assigned the Key Vault Crypto Service User role on the Key Vault. This role grants data-plane permissions (specifically wrap and unwrap key actions) required for encryption.