Hello,

I'm currently trying to figure out how to use the secrets management in 
GoCD.
I want to use a secret for the password of a git repository material. I 
read the documentation about it and did the following:

   - Created a local secret db file on the server and put a secret named 
   "GITHUB_API_TOKEN" into it.
   - Configured a secret config named "gocd-ops" and allowed it for use in 
   my pipeline group.
   - Then I composed the placeholder as described in the 
   docs: {{SECRET:gocd-opsGITHUB_API_TOKEN}} and pasted it into the password 
   field of the material.

When I try to verify the connection it failes with HTTP/403 status code.

So what did I do wrong?

Looking at the config XML it is stored as "encryptedPassword" and exporting 
it as JOSN it is also stored as "encrypted_password". So I don't know if 
GoCD did recognize it as a reference to the secret or just uses the 
placeholder as password.

Regards,
Helge

-- 
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/7f6fdf4b-a928-46ae-9289-93172376ec93o%40googlegroups.com.

Reply via email to