Azure Pipelines | TFS 2018 | TFS 2017 | TFS 2015
Build and release pipelines are called definitions in TFS 2018 and in older versions. Service connections are called service endpoints in TFS 2018 and in older versions.
Use the Secure Files library to store files such as signing certificates, Apple Provisioning Profiles, Android Keystore files, and SSH keys on the server without having to commit them to your source repository. Secure files are defined and managed in the Library tab in Azure Pipelines.
The contents of the secure files are encrypted and can only be used during the build or release pipeline by referencing them from a task. The secure files are available across multiple build and release pipelines in the project based on the security settings. Secure files follow the library security model.
There's a size limit of 10 MB for each secure file.
Q & A
How can I consume secure files in a Build or Release Pipeline?
Use the Download Secure File Utility task to consume secure files within a Build or Release Pipeline.
How can I create a custom task using secure files?
You can build your own tasks that use secure files by using inputs with type
secureFile in the
Learn how to build a custom task.
To handle secure files during build or release, you can refer to the common module available here.
My task can't access the secure files. What do I do?
Make sure your agent is running version of 2.116.0 or higher. See Agent version and upgrades.