I had a look at the implementation of the JSON and Groovy Config Repo 
Plugins and found that you can specify a plain text password there for 
usage with such secrets. This is nice :)


Am Donnerstag, 16. Juli 2020 13:08:17 UTC+2 schrieb Aravind SV:
>
> Hello Helge,
>
> A question regarding Pipelines as code: When exporting the pipeline, e.g. 
> as JSON, the password (or the placeholder) is exported as encrypted string. 
> This is not portable between GoCD instances. Is it somehow possible to 
> specify it in JSON as plain text?
>
> I think not. At the time the export happens, the pipeline does not even 
> know that the secret is defined using a secret parameter. Same with 
> templates. So, you’ll need to replace is after the export. :(
>
> Cheers,
> Aravind
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/67bd92dd-c0c4-46cc-9645-aa5ace1ffff2o%40googlegroups.com.

Reply via email to