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

Support OAuth Token for authenticating on GCS Backend same way the terraform-google-provider does #21680

Closed
primeroz opened this issue Jun 11, 2019 · 4 comments · Fixed by #26700

Comments

@primeroz
Copy link

Current Terraform Version

0.11.13

Use-cases

We use Vault to generate dynamic GCP Secrets to then run terraform.

We would like to use the OAuth token rather than the json private key for all the good reasons stated here but currently we can't because while the terraform google provider support using the token , see here and the option to expose it as an environment variable, the backend does not.

I did raise a case to the terraform provider first without understanding that the backend is actually part of core

Attempted Solutions

None really since the backend only work with credentials.json

Proposal

References

@emilymye
Copy link
Contributor

@luis-silva
Copy link
Contributor

@emilymye I took the liberty of adding this PR as I have a similar use case and quite need the functionality. Can you review it?

@luis-silva
Copy link
Contributor

@paddycarver @emilymye @mildwonkey Anyone happy to do a quick review of the PR associated with this issue? It's pretty straight forward.

@ghost
Copy link

ghost commented Dec 7, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants