PQ Python

azure-identity, azure-keyvault-keys

azure-identity’s CertificateCredential is RSA/RS256-only, and Azure Key Vault documents no ML-DSA or ML-KEM key types; RSA-3072+ is the only stopgap.

PyPI
azure-identity, azure-keyvault-keys
Version cited
1.27.1azure-identity 1.27.1 (1 Dec 2026); azure-keyvault-keys version not collected
Downloads
145.3M/mo

Key exchange and encryption

Stopgap only

No ML-KEM key types

Signatures and identity

Stopgap only

RSA-3072+ stopgap; no ML-DSA

What to do

Use RSA-3072/4096 certificates for CertificateCredential and RSA-3072+ Key Vault keys, or move to keyless Managed Identity; run on OpenSSL ≥3.5.

Since 1 Dec 2026 Nothing from the projects. Microsoft co-signed the 2 Dec 2026 industry statement.

Details

azure-identity#

  • CertificateCredential is RSA/RS256-only (azure-identity certificate.py).
  • The AGY report summarizes Microsoft Entra ID assertions as RSA (RS256/PS256), not 256-bit ECC. Where static keys remain, upload RSA-3072/4096 certificates or prefer keyless Managed Identity, and ensure CPython runs OpenSSL ≥3.5.

Azure Key Vault (azure-keyvault-keys)#

  • Key Vault lists RSA, EC (P-256, P-384, P-521, P-256K) and AES, with no ML-DSA or ML-KEM. Its PQ note covers only 256-bit symmetric keys (Key Vault keys).
  • Use RSA-3072+ until PQ key types exist.
  • P-256K is secp256k1.

Downloads in the 30 days to 3 Dec 2026: azure-identity 145,344,330; azure-keyvault-keys 20,774,471.

Sources cited on this page 2
  1. azure-identity certificate.py github.com
  2. Key Vault keys learn.microsoft.com

All sources across the guide