Azure Key Vault is a cloud service provided by Microsoft Azure for securely storing and managing cryptographic keys, certificates, secrets, and other sensitive information. It is widely used to safeguard cryptographic keys and secrets used by cloud applications and services.

The Azure Key Vault plugin:

  1. Connects to your Azure Key Vault using Azure Active Directory (Azure AD) service principal authentication with client credentials.
  2. Discovers all certificates, keys, and secrets in the vault. 
    • X.509 certificates—the plugin does the following: 
      • Discovers X.509 certificates stored in Azure Key Vault.
      • Exports the PEM-encoded certificate body in RFC 7468-compliant format.
      • Returns comprehensive certificate metadata.
    • Asymmetric keys—The plugin discovers the following asymmetric keys and exports the PEM-encoded public key.



      ​RSA

      RSA-2048, RSA-3072, RSA-4096, RSA-HSM variants

      Elliptic curve

      P-256, P-384, P-521, P-256K, EC-HSM variants


    • Symmetric key—The plugin discovers the following symmetric keys and exports metadata only. No key material is exported.

      OKP 

      Ed25519 only; no HSM variant

      OCT 

      Symmetric AES key (OCT-HSM variants)

    • Secrets—The plugin discovers generic secrets and exports metadata only; secret values and key material are never exported. With the recommended least-privilege Key Vault Reader role, secret values are not read at all, and a secret containing a PEM-encoded key is reported as a generic secret. If secret-value access is granted (Key Vault Secrets User), the plugin additionally reads the value in memory to sub-classify a PEM-encoded private or symmetric key, but still never exports the key material.
    The plugin does not support incremental scanning; each scan processes all assets in the vault.
  3. Exports PEM-encoded certificate bodies and public keys for asymmetric keys, along with comprehensive metadata. 

    For security reasons, private key bodies and symmetric key bodies are never exported. Only metadata is returned for these asset types.