googleapis / google-cloud-dotnet

Google Cloud Client Libraries for .NET
https://cloud.google.com/dotnet/docs/reference/
Apache License 2.0
932 stars 365 forks source link

Workload identity federation support #9245

Closed neotrow closed 2 years ago

neotrow commented 2 years ago

I was wondering if there is a plan to add Workload identity federation support to the .net client libraries?

According to the documentation it is not supported yet and I also tried to point the GOOGLE_APPLICATION_CREDENTIALS to a credential configuration file but then it throws an error

 Error creating credential from JSON or JSON parameters. Unrecognized credential type external_account.
jskeet commented 2 years ago

It's supported in the recently-released beta of Google.Apis.Auth. See this issue for more details and links to the PRs involved. (Note that for auth queries, that's the right repo to raise issues on, as that's where the code for Google.Apis.Auth lives.)