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

Allow more flexibility to GOOGLE_APPLICATION_CREDENTIALS parsing #415

Merged

Conversation

rbclark
Copy link
Contributor

@rbclark rbclark commented May 18, 2022

The GoogleAuth library supports creating credentials for multiple credential types. The current state of inspec-gcp limits users passing a GOOGLE_APPLICATION_CREDENTIALS file to only be able to use service accounts.

Description

This allows users utilizing authentication types other than service accounts to pass an appropriate GOOGLE_APPLICATION_CREDENTIALS file. It is no longer recommended by Google to utilize a service account directly and Workload Identity Federation is the recommended replacement. I am trying to implement Workload Identity Federation in googleauth and utilize it with InSpec and this is one of the issues I encountered.

Issues Resolved

This is relevant to the work I am doing in googleapis/google-auth-library-ruby#354

@rbclark rbclark requested a review from a team as a code owner May 18, 2022 21:39
@rbclark rbclark force-pushed the generic-google-credentials-support branch from 51deefd to af0bd45 Compare May 24, 2022 18:16
The GoogleAuth library supports creating credentials for multiple credential types.

Signed-off-by: Robert Clark <robert.clark@kirkpatrickprice.com>
@rbclark rbclark force-pushed the generic-google-credentials-support branch from af0bd45 to a063561 Compare July 1, 2022 14:54
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.

None yet

2 participants