NovaByte Research has an Azure subscription named sub-novabyte-core. You are configuring customer-managed keys (CMK) for an Azure Storage account named sanovabytearchive. You create a user-assigned managed identity named uami-storage-enc to be used for Key Vault access. The Azure Key Vault named kv-novabyte-secure is configured to use Azure role-based access control (Azure RBAC) for authorization. Which of the following actions must you perform to successfully configure the storage account to use customer-managed keys from the key vault? (Select two)
- Enable purge protection on kv-novabyte-secure.Cevap
- Assign the Key Vault Crypto Service Encryption User role for kv-novabyte-secure to uami-storage-enc.Cevap
- CAssign the Reader role for kv-novabyte-secure to uami-storage-enc.
- DDisable the 'Allow trusted Microsoft services to bypass this firewall' setting on kv-novabyte-secure.
Cevap
Enable purge protection on the key vault and assign the Key Vault Crypto Service Encryption User role to the user-assigned managed identity.
To successfully configure customer-managed keys (CMK) for a storage account using Azure RBAC, two main requirements must be met: the Key Vault must have purge protection enabled to protect the encryption keys from accidental deletion, and the managed identity assigned to the storage account must be granted the Key Vault Crypto Service Encryption User role to allow it to perform data-plane encryption and decryption operations.
Adım Adım Çözüm
Anahtar Kavram
Configuring Azure Storage encryption with customer-managed keys requires Key Vault protection settings (soft-delete and purge protection) and appropriate data-plane permissions (using Azure RBAC or Key Vault access policies) for the storage account's managed identity.