Giter Club home page Giter Club logo

Comments (6)

tomzo avatar tomzo commented on June 14, 2024

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>"

from gocd-yaml-config-plugin.

ihr avatar ihr commented on June 14, 2024

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

from gocd-yaml-config-plugin.

tomzo avatar tomzo commented on June 14, 2024

There isn't a forum yet. You're very welcome to open an issue with suggestions or PR with documentation improvements.

from gocd-yaml-config-plugin.

ihr avatar ihr commented on June 14, 2024

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

from gocd-yaml-config-plugin.

jskswamy avatar jskswamy commented on June 14, 2024

For now this can be achieved using openssl, refer this pull request

from gocd-yaml-config-plugin.

ketan avatar ketan commented on June 14, 2024

@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.

from gocd-yaml-config-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.