Skill 4.2.3

Design and implement a strategy for managing sensitive files during deployment, including Azure Pipelines secure files

Key Concepts

Azure Pipelines secure files are stored encrypted in the library, up to 10 MB each. DownloadSecureFile@1 places the file in a temporary folder and exposes its path through the output variable secureFilePath. The file is deleted when the job ends.

Pipelines must be authorized to use a file. In GitHub, a file can be stored as a base64-encoded secret, or as a certificate in Key Vault, which is better.