Skill 4.1.3
Design the secrets management and retrieval approach for multi-agent solutions by using Azure Key Vault, including secrets, certificates, key rotation, role-based access to secrets, and encryption
Key Concepts
Key Vault stores secrets (API keys, connection strings), keys (for encryption and signing) and certificates (with automatic renewal from integrated issuers). Applications read secrets at run time with their managed identity, or through Key Vault references in App Service, Functions and Container Apps, so a rotated secret is picked up without redeploying code.
Rotation uses rotation policies for keys and Event Grid near-expiry events that trigger a Function to rotate secrets. Role-based access uses the Azure RBAC permission model with Key Vault Secrets User for reading and Key Vault Secrets Officer for managing, scoped to the vault or a single secret. Encryption with customer-managed keys in Key Vault protects Foundry, Storage and Cosmos DB data at rest; soft delete and purge protection prevent permanent loss.