Skip to content

Use valid Key Vault Secret names#

Operational Excellence · Key Vault · Azure.KeyVault.SecretName

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.


Last update: 2021-09-24