Comments (6)
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.
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.
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.
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.
For now this can be achieved using openssl
, refer this pull request
from gocd-yaml-config-plugin.
@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)
- RuntimeException when exporting certain pipelines HOT 3
- doesn't support branchblacklist/branchwhitelist attribute for git-feature-branch plugin HOT 1
- Move current GoCD templates into Yaml. Or find a way to reference global Yaml templates HOT 5
- Use pipeline parameters in the "approval" property HOT 3
- target_version 9 not supported in gocd 19.9.0 HOT 1
- Declaring a secret as an environement variable HOT 5
- Broken after update to 20.2 HOT 2
- is this plugin still maintained or not? HOT 1
- Pipeline Export always returns `format_version` = 3 HOT 1
- Private Github Repository material failing - Not recognizing username nor encrypted password attributes HOT 1
- Issue with export of pipeline with two materials without a name HOT 1
- Role access support for pipeline group via yaml config plugin HOT 4
- Support scm ref for config repo configuration
- Non editable parameters HOT 2
- Error exporting pipeline created using the UI. HOT 5
- Multibranch pipeline example request HOT 1
- Creating pipelines with request headers in yaml file config through API call seems wrong as it defaulted to null HOT 1
- Cannot refer elastic_profile_id to an environment variable. HOT 2
- nant_path label does not work HOT 2
- Duplicate Key error when using override feature from YAML HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocd-yaml-config-plugin.