Use valid Key Vault Secret names#
Operational Excellence · Key Vault · Rule · 2021_03 · Awareness
Key Vault Secret names should meet naming requirements.
Description#
When naming Azure resources, resource names must meet service requirements. The requirements for Key Vault Secret names are:
- Between 1 and 127 characters long.
- Alphanumerics and hyphens (dash).
- Secrets must be unique within a Key Vault.
Recommendation#
Consider using secret names that meet Key Vault naming requirements. Additionally consider naming resources with a standard naming convention.
Notes#
This rule does not check if Secret names are unique.
Links#
- OE:04 Continuous integration
- Naming rules and restrictions for Azure resources
- Azure deployment reference
- Tagging and resource naming