Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example of setting up kitchen-google to work with service accounts #36

Open
kisoku opened this issue Apr 7, 2016 · 1 comment
Open
Assignees

Comments

@kisoku
Copy link

kisoku commented Apr 7, 2016

Hi,

I'm trying to use kitchen-google via CI and would like to create a .kitchen.yml configuration that uses a service account.

Would it be possible to add an example to the documentation ?

@kisoku
Copy link
Author

kisoku commented Apr 7, 2016

Here's what I had to do to get this working today.

Created a service account, downloaded the generated keys in JSON format and placed them in .config/gcloud/application_default_credentials.json or wherever GOOGLE_APPLICATION_CREDENTIALS is pointing.

Created an ssh key pair for my service account and modified the transports section of .kitchen.yml to use the correct username and path to the private key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants