Rediger

Azure MCP Server tools for Azure Key Vault

The Azure MCP Server lets you manage Azure Key Vault resources, including keys, secrets, and certificates with natural language prompts. You don't need to remember specialized command syntax to manage these resources.

Azure Key Vault is a cloud service for securely storing and accessing secrets, keys, and certificates. A secret is anything that you want to tightly control access to, such as API keys, passwords, or connection strings.

Note

Tool parameters: The Azure MCP Server tools define parameters for data they need to complete tasks. Some of these parameters are specific to each tool and are documented here. Other parameters are global and shared by all tools. For more information, see Tool parameters.

Administration: Get all managed HSM settings

Example CLI command

azmcp keyvault admin settings get \
  --vault <vault>
Parameter Type Required Description
vault string Yes The name of the Key Vault.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Keys: Create key

Example CLI command

azmcp keyvault key create \
  --key <key> \
  --key-type <key-type> \
  --vault <vault>
Parameter Type Required Description
key string Yes The name of the key.
key-type string Yes The type of key to create. Valid values: RSA, RSA-HSM, EC, EC-HSM. Note: RSA-HSM and EC-HSM require a premium SKU vault.
vault string Yes The name of the Key Vault.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
✅ ❌ ❌ ❌ ❌ ❌

Keys: Get or list keys

Example CLI command

azmcp keyvault key get \
  --vault <vault> \
  [--key <key>] \
  [--include-managed <include-managed>]
Parameter Type Required Description
vault string Yes The name of the Key Vault.
key string No The name of the key.
include-managed string No Whether to include managed keys in results.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Secrets: Create secret

Example CLI command

azmcp keyvault secret create \
  --secret <secret> \
  --value <value> \
  --vault <vault>
Parameter Type Required Description
secret string Yes The name of the secret.
value string Yes The value to set for the secret.
vault string Yes The name of the Key Vault.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
✅ ❌ ❌ ❌ ✅ ❌

Secrets: Get or list secrets

Example CLI command

azmcp keyvault secret get \
  --vault <vault> \
  [--secret <secret>]
Parameter Type Required Description
vault string Yes The name of the Key Vault.
secret string No The name of the secret.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ✅ ❌

Certificates: Create certificate

Example CLI command

azmcp keyvault certificate create \
  --certificate <certificate> \
  --vault <vault>
Parameter Type Required Description
certificate string Yes The name of the certificate.
vault string Yes The name of the Key Vault.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
✅ ❌ ❌ ❌ ❌ ❌

Certificates: Get or list certificates

Example CLI command

azmcp keyvault certificate get \
  --vault <vault> \
  [--certificate <certificate>]
Parameter Type Required Description
vault string Yes The name of the Key Vault.
certificate string No The name of the certificate.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
❌ ✅ ❌ ✅ ❌ ❌

Certificates: Import certificates

Example CLI command

azmcp keyvault certificate import \
  --certificate <certificate> \
  --certificate-data <certificate-data> \
  --vault <vault> \
  [--password <password>]
Parameter Type Required Description
certificate string Yes The name of the certificate.
certificate-data string Yes The certificate content: path to a PFX or PEM file, a base64 encoded PFX, or raw PEM text beginning with -----BEGIN.
vault string Yes The name of the Key Vault.
password string No Optional password for a protected PFX being imported.

Tool annotation hints:

Destructive Idempotent Open World Read Only Secret Local Required
✅ ❌ ❌ ❌ ❌ ✅