Sensitive Data Encryption in YAML
From this week onward, all sensitive data exported to YAML will be encrypted and salted. This includes server passwords, keys, and variables marked as encrypted. It is also possible to generate encrypted values directly in Buddy using our YAML helper.
Pipeline Data
Let's say you have a pipeline that you want to use as a template for future projects. The pipeline includes deployment actions to multiple servers, some of them secured by passwords (FTP/FTPS), some of them by SSH keys (SFTP):
Image loading...
To use the configuration as a template, you first need to export it to a YAML file. You can do that in the pipeline's Settings tab:
Image loading...
If you examine the file, you will see all sensitive data (passwords, keys, encrypted variables) is now encrypted:
Image loading...
Now you can use the file to safely reproduce the pipelines in any new project with the Import option in the right column of the Pipelines view.
IMPORTANT: The salt required to decrypt the data is stored in your workspace Preferences:
Image loading...
YAML Helper
The improvement also involves the YAML helper that you can use to manage and export pipeline configuration. Now, you can also use it to generate encrypted values for your buddy.yml
:
Image loading...
Jarek Dylewski
Customer Support
A journalist and an SEO specialist trying to find himself in the unforgiving world of coders. Gamer, a non-fiction literature fan and obsessive carnivore. Jarek uses his talents to convert the programming lingo into a cohesive and approachable narration.