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:

Exporting configuration of all pipelinesExporting configuration of all pipelines

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

Exporting configuration of a single pipelineExporting 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:

Importing pipeline configurationImporting 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:

Importing pipeline configurationImporting 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:

Encryption salt in Workspace SettingsEncryption salt in Workspace Settings

Last update:
Aug 6, 2024