-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encrypting values #5
Comments
Hi, There isn't a convenient way to do this, yet. There should be UI or API at least in server to encrypt some text and save it in your configuration in SCM. There is an issue about this in gocd gocd/gocd#1829 I tested that it is possible to take some text from cruise-config.xml and actually put it in yaml like this: secure_variables:
MY_PASSWORD: "<encrypted-text>" |
Hi, Thanks, I will try that. I have first feedback of using the YAML configuration. Is there a forum or other place where we can discuss this? I think there could be some improvements in the documentation and I would like to make some suggestions |
There isn't a forum yet. You're very welcome to open an issue with suggestions or PR with documentation improvements. |
Thank you, I created a pull requests regarding the README. Once I tested a way to have the password secured I will submit another PR |
For now this can be achieved using |
@tomzo — can you close this, since the encryption API is available. https://api.gocd.org/current/#encrypt-a-plain-text-value since 17.1. I'll update the README in another PR. |
Hi,
Thanks for the great work. I'm trying out the configuration feature and I can't find correct way of encrypting the values to be put in the yml file. I couldn't find much in the docs, could you please provide some more information?
The text was updated successfully, but these errors were encountered: