HI 小龙 - Huron 吴 ,
Greetings! Welcome to Microsoft Q&A Forum. Thanks for posting you query here!
Encryption scopes in Azure Storage are a bit different from using the storage account access key for blob operations. Encryption scopes allow you to manage encryption at the level of an individual blob or container, providing more granular control over data encryption
To create and manage encryption scopes, you typically need to use Azure Active Directory (AAD) credentials rather than the storage account access key. This is because encryption scopes can be tied to customer-managed keys stored in Azure Key Vault, which requires AAD authentication
You can create an encryption scope:
- Navigate to your storage account in the Azure portal.
- Under Security + networking, select Encryption.
- Select the Encryption Scopes tab.
- Click the Add button to add a new encryption scope.
- Enter a name for the new scope and select the type of encryption key support (Microsoft-managed keys or Customer-managed keys).
- If using Customer-managed keys, specify the key vault and key to use
For more information:
https://learn.microsoft.com/en-us/azure/storage/blobs/encryption-scope-manage?tabs=portal
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you