Azure / Azure/azure-rest-api-specs
[Question] Azure Key Vault default value for 'accessPolicies' parameter
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
### API Spec link
https://github.com/Azure/azure-rest-api-specs/tree/main/specification/keyvault
### API Spec version
2026-02-01
### Question/Query
Hello,
Could you please share if there are any particular reasons, why we need to specify 'accessPolicies' parameter for new Key Vault deployments with updated API (2026-02-01)?
My initial assumption was that with setting up RBAC access method to 'true' the 'accessPolicies' parameter will be set with the default empty list/set value.
I tried to deploy a new KV with API '2026-02-01' and got unexpected for me error - "The parameter accessPolicies is not specified. (Code:BadReques)".
Thank you!
### Environment
_No response_
Contributor guide
Research direction
Start with the linked Azure Key Vault API specification and inspect the 2026-02-01 definition of the accessPolicies parameter alongside the RBAC setting. Compare the specification with the reported deployment error; this is done when the required behavior is clarified or the specification is corrected to match the service.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100