BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Key Vault for secrets, keys and certificates
Lesson251 words

Key Vault for secrets, keys and certificates

Implement and manage secrets, keys, and certificates by using Azure Key Vault

Three object types, three purposes

ObjectHoldsTypical use
SecretAny value up to 25 KBConnection strings, API keys, passwords
KeyA cryptographic key that never leaves the vaultSigning, encryption — the vault performs the operation
CertificateAn X.509 certificate with its private keyTLS, client authentication

The distinction that matters: a secret is retrieved by the caller; a key is used inside the vault. If a scenario requires that private key material never be exposed to the application, the answer is a key with vault-side operations, not a secret containing key material.

Reaching the vault from a pipeline

Two supported routes:

  1. Key Vault-linked variable group — variables in the group are backed by vault secrets, so the vault remains the system of record.
  2. The Azure Key Vault task — fetches secrets at run time into the job.

Either way, authenticate with a managed identity or a workload-identity-federated service connection, so no credential is stored to reach the credential store.

Rotation and access

Rotation is the reason for centralisation: change the value in the vault and every consumer picks it up, with no pipeline edit. Access should be granted to the identity, least-privilege, and audited — vault access logs are the record of who read which secret when.

Primary sources

  • https://learn.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates
  • https://learn.microsoft.com/en-us/azure/devops/pipelines/library/variable-groups
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.