Keyvault permissions required
There is no documentation on what keyvault permissions are needed with ProtectKeysWithAzureKeyVault(). It should note which specific access policy permissions are required for use.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: b63ab082-ad30-b00d-ecd1-ca88eee1659e
- Version Independent ID: 69818122-e47a-3fed-ea37-8009f66e2a5c
- Content: Configure ASP.NET Core Data Protection
- Content Source: aspnetcore/security/data-protection/configuration/overview.md
- Product: aspnet-core
- Technology: aspnetcore-security
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
Hello @brobichaud ... Yep ... good :eye:. It should say "List" and "Get" permissions. I'll update it now. Thanks for commenting on this.
Actually I found different. It seems ProtectKeysWithAzureKeyVault() actually needs the "Unwrap Key" permission in the Cryptographic Operations section of Key permissions.
I see. So much for my assumption. I'll open an issue to investigate ... I found the Azure docs (and blog posts) somewhat cryptic on the point.