Your company, Tailwind Traders, has an Azure subscription containing a storage account named twtstorage1 and an Azure Key Vault named twtkeyvault1. You configure twtstorage1 to use a system-assigned managed identity. twtkeyvault1 is configured to use Azure Role-Based Access Control (RBAC) for authorization. On twtkeyvault1, recovery of deleted vaults is enabled, and protection against permanent deletion is activated. You need to configure customer-managed key encryption for twtstorage1 using a key from twtkeyvault1. Which role must you assign to the system-assigned managed identity of twtstorage1 on twtkeyvault1?
- Key Vault Crypto Service Encryption UserAnswer
- BContributor
- COwner
- DStorage Blob Data Contributor
Answer
Key Vault Crypto Service Encryption User
To configure customer-managed key encryption, the storage account's managed identity must be granted data plane permissions to wrap and unwrap keys on the Key Vault. The Key Vault Crypto Service Encryption User role is the built-in role designed for this purpose, providing only the required cryptographic data plane permissions without administrative access.
Step-by-Step Solution
Key Concept
Customer-managed key encryption for Azure Storage requires granting data plane permissions (wrap/unwrap keys) to the storage account's managed identity using specific roles like Key Vault Crypto Service Encryption User.
Estimated Time:45s