BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Topic 4.2 — Managing sensitive information — cram sheet
Cram Sheet288 words

Topic 4.2 — Managing sensitive information — cram sheet

Topic 4.2 — Managing sensitive information · cram sheet

Key Vault

ObjectNature
SecretA value the caller retrieves
KeyNever leaves the vault — operations happen inside
CertificateX.509 with private key

"Private key must never be exposed" → use a key, not a secret containing key material. Pipeline access: Key Vault-linked variable group (vault stays the system of record) or the Key Vault task. Authenticate with a managed identity.

Secretless authentication (OIDC / workload identity federation)

  1. Establish OIDC trust in the cloud provider
  2. Provider auto-generates a JWT with claims each run
  3. Workflow presents it as proof of identity
  4. Cloud returns a short-lived token, valid for that job only

Three documented benefits: no cloud secrets · granular authN/authZ via the cloud provider · automatically rotating credentials. Scope the cloud trust to specific claims (repository, environment) — otherwise any workflow in the org can assume the role.

Sensitive files

  • Secure files library — encrypted, outside the repo, and a protected resource (checks + pipeline permissions).
  • Never commit a certificate — it stays in git history after rotation.
  • On a self-hosted agent the downloaded file persists. Clean it up.

Preventing leakage

FactDetail
Log maskingBest-effort. Transformed/encoded secrets are not masked
Secret variables in scriptsMust be explicitly mapped via env:
Command-line argumentsAvoid — visible in process listings
Fork PR validationsSecrets withheld by default — leave it
Non-secret variablesNot masked; approvals do not restrict them

Strongest control: have no secret at all.

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.