Use valid Key Vault Key names

March 21, 2025 ยท View on GitHub

SYNOPSIS

Key Vault Key names should meet naming requirements.

DESCRIPTION

When naming Azure resources, resource names must meet service requirements. The requirements for Key Vault Key names are:

  • Between 1 and 127 characters long.
  • Alphanumerics and hyphens (dash).
  • Keys must be unique within a Key Vault.

RECOMMENDATION

Consider using key names that meet Key Vault naming requirements. Additionally consider naming resources with a standard naming convention.

NOTES

This rule does not check if Key names are unique.