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

auth: Support for GCP access tokens #574

Merged
merged 2 commits into from
Jun 10, 2023

Conversation

sjshuck
Copy link
Contributor

@sjshuck sjshuck commented May 29, 2023

SUMMARY
  • Introduce choice "accesstoken" for auth_kind for modules
  • Introduce optional access_token string param that falls back to GCP_ACCESS_TOKEN env var

Partly addresses #465.
Fixes #486.

ISSUE TYPE
  • Feature Pull Request
ADDITIONAL INFORMATION

I have tested this myself, but didn't try to write any tests since they'd require an actual GCP token to be meaningful. I also didn't understand how changelog fragments work so I left that out.

sjshuck added 2 commits May 28, 2023 16:35
* Introduce choice "accesstoken" for auth_kind for modules
* Introduce optional access_token string param that falls back to
  GCP_ACCESS_TOKEN env var
@toumorokoshi toumorokoshi merged commit 203961b into ansible-collections:master Jun 10, 2023
@toumorokoshi
Copy link
Collaborator

Thanks! sounds good. I'll add the changelog fragment.

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

Successfully merging this pull request may close these issues.

Authenticate Ansible with Google using access tokens
2 participants