BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Sensitive files during deployment
Lesson212 words

Sensitive files during deployment

Manage sensitive files during deployment

Some deployments need a file, not a string: a signing certificate, a provisioning profile, a keystore, an SSH key.

Secure files

The Azure Pipelines secure files library stores such files encrypted, outside the repository. A pipeline downloads one at run time with the Download Secure File task, and the file lands on the agent for that run only.

Two properties make it the right answer:

  • A secure file is a protected resource. Its owner can attach approvals, checks and pipeline permissions — so a signing certificate can be restricted to the release pipeline that is entitled to sign.
  • Nothing is committed. A certificate in the repository is in git history permanently, and rotating it does not remove the old one.

Cleaning up

The downloaded file exists on the agent's filesystem. On a Microsoft-hosted agent the machine is discarded, so this is self-limiting. On a self-hosted agent it persists unless removed — the same persistence that makes self-hosted agents fast makes them a place where a signing key can be left behind.

The alternative

Where the sensitive material is a value rather than a file, prefer a Key Vault-linked variable group. Secure files are for genuine file artifacts.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/pipelines/library/secure-files
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.