An administrator is configuring customer-managed keys (CMK) for an Azure Storage account named saapexdata. The storage account has a system-assigned managed identity enabled. The key is stored in an Azure Key Vault named kv-apex-keys, which is configured to use the Azure role-based access control (Azure RBAC) permission model. Soft-delete and purge protection are already enabled on the Key Vault. Which role must be assigned to the storage account's managed identity over kv-apex-keys to allow encryption to function?
- AOwner of the resource group containing the Key Vault
- Key Vault Crypto Service Encryption UserCevap
- CKey Vault Contributor
- DContributor on the storage account and enabling the 'Allow trusted Microsoft services to bypass this firewall' setting on the Key Vault firewall
Cevap
Key Vault Crypto Service Encryption User
The correct role is Key Vault Crypto Service Encryption User. Under the Azure RBAC authorization model, this role grants the required cryptographic data-plane operations (wrap key and unwrap key) to the managed identity of the storage account, enabling Azure Storage Service Encryption to encrypt and decrypt data using the customer-managed key.
Adım Adım Çözüm
Anahtar Kavram
Assigning appropriate Azure RBAC roles to a storage account's managed identity for Key Vault access when configuring customer-managed keys (CMK).
Tahmini Süre:2m 0s