Export / Import

Warning
All sensitive data in the pipeline, such as passwords, is encrypted. To decrypt the data, you need the salt of the pipeline's source workspace.

Exporting pipelines

  1. To export configuration of all pipelines in the project, click the hamburger icon at the top and select Download YAML config. You can then manually select the pipelines to export or leave out:

Image loading...Exporting configuration of all pipelines

  1. To export configuration of a single pipeline, select the option from the hamburger menu over the desired pipeline:

Image loading...Exporting configuration of a single pipeline

Importing pipelines

To import your pipelines, go to the target project and select Import YAML config from the hamburger menu at the top:

Image loading...Importing pipeline configuration

Buddy will ask you to provide the file with pipeline definitions and the decryption salt of the workspace where the pipelines were originally hosted:

Image loading...Importing pipeline configuration

Warning
If you don't provide the correct encryption salt, Buddy imports the pipeline, but the sensitive data is not decrypted – you must fill in these details manually.

Managing secrets in exported YAML files

All sensitive data, such as passwords, is encrypted when you export pipelines. To decrypt the data, you need to provide the encryption salt – a random string used as an additional input in the hashing function.

The decryption salt is constant and unique for every workspace. When importing pipelines from another workspace, you need to know the salt of the pipeline's source workspace to decrypt the sensitive data.

Administrators and workspace owners can view the encryption salt in the Workspace Settings tab:

Image loading...Encryption salt in Workspace Settings

Last modified on Sep 23, 2024