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

GOOGLE_APPLICATION_CREDENTIALS: credentials type 'external_account' is not supported #437

Closed
brettcurtis opened this issue Apr 2, 2023 · 4 comments

Comments

@brettcurtis
Copy link

I'd like to be able to use OIDC from GitHub Actions to GCP when running inspec tests against my infrastructure. Specifically when using Kitchen-Terraform.

Detailed Description

When running kitchen verify I get the following issue:

>>>>>> Unable to read the credential file specified by GOOGLE_APPLICATION_CREDENTIALS: credentials type 'external_account' is not supported

Context

Using long-lived credentials isn't ideal.

@clintoncwolfe
Copy link
Contributor

Thanks for the request - this will be handled over in inspec-gcp. Thanks!

@clintoncwolfe clintoncwolfe transferred this issue from inspec/inspec Apr 3, 2023
@brettcurtis
Copy link
Author

brettcurtis commented Apr 4, 2023

Should the issue be in this repo: https://github.com/googleapis/google-auth-library-ruby, I wonder?

edit googleapis/google-auth-library-ruby#354

@brettcurtis
Copy link
Author

This has been fixed in https://github.com/googleapis/google-auth-library-ruby/releases/tag/googleauth%2Fv1.6.0 according to our Google TAMs.

What is required to get inspec using this version of googleauth - it looks like we are stuck here:

Could not find compatible versions

Because train >= 3.4.7 depends on googleauth >= 0.6.6, <= 0.14.0
  and inspec >= 5.18.14 depends on train ~> 3.10,
  inspec >= 5.18.14 requires googleauth >= 0.6.6, <= 0.14.0.

inspec/train#729

@balasubramanian-s
Copy link
Contributor

We have implemented support for Workload Identity Federation authentication.
This feature is now available inspec/train#767

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

No branches or pull requests

3 participants