Use valid Key Vault names
March 21, 2025 ยท View on GitHub
SYNOPSIS
Key Vault names should meet naming requirements.
DESCRIPTION
When naming Azure resources, resource names must meet service requirements. The requirements for Key Vault names are:
- Between 3 and 24 characters long.
- Alphanumerics and hyphens (dash).
- Start with a letter.
- End with a letter or digit.
- Can not contain consecutive hyphens.
- Key Vault names must be globally unique.
RECOMMENDATION
Consider using names that meet Key Vault naming requirements. Additionally consider naming resources with a standard naming convention.
NOTES
This rule does not check if Key Vault names are unique.