Google Oauth secret not available in "Credential Bindings" in a freestyle job

34 views
Skip to first unread message

SpikeX

unread,
Apr 11, 2019, 11:19:07 AM4/11/19
to Jenkins Users
Hi,

I'm trying to use Google compute engine in my build process (to be clear, I'm not trying to spin up slaves on GCE). I've created a service account as "best practices" and trying to pass the json key file to the build script.

This seems to be the right plugin to do the above:

I've followed the instructions: created the service account, downloaded the json key and added it under credentials in the global space as a "Google Service Account from private key". However if I create a new job, check "Use secret text(s) or file(s)" and try to add a binding in the dropdown I see Azure, AWS, username/pwd etc, but no Google entry and I cannot find any way to pull in that credentials I've added.

any idea what may be going on?

thanks,

S

Torsten Reinhard

unread,
May 9, 2019, 6:25:39 PM5/9/19
to Jenkins Users
I´ve the same issue, but with the Hashicorp Vault plugin:


Any ideas so far ?

Regards, Torsten

Mukhtar Ali

unread,
Apr 17, 2020, 8:45:11 AM4/17/20
to Jenkins Users
Hi,

i'm also trying to use Google Compute Engine Plugin but that is not working at the time of configuration and select the credential geeting the response "Could not list in region project <projectid>" please suggest me if your problem is resolved.


Regards,
Mukhtar Ali
Reply all
Reply to author
Forward
0 new messages