question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for workload identity federation

See original GitHub issue

We run on GCP and have several other parties that do not run on GCP and need to interact with our GCP infrastructure. We tend to use the Workload Identity Federation feature of GCP (see https://cloud.google.com/iam/docs/using-workload-identity-federation) to allow them access based on their AWS, Azure, or OIDC credentials. We love that feature as it removes the need to manage secrets.

However, it seems this identity federation is supported by most google client libraries, but not the dotnet one. Is it just a matter of me being unable to find this in the documentation? Otherwise, please consider this a feature request to add support for federated credentials.

See https://github.com/googleapis/google-auth-library-nodejs#workload-identity-federation for how Identity Federation is supported by the nodejs GCP clients. They use the new gcloud iam workload-identity-pools create-cred-config cli tool to create a json that can be used in the GOOGLE_APPLICATION_CREDENTIALS environment variable to have the client libraries automatically use identity federation. Perhaps this can be an inspiration on how to offer this in the dotnet eco system.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
amanda-tarafacommented, Mar 25, 2022

Just as an update, I’ve made some advances, but it’s still going to be a couple of weeks before I’ve got a PR ready for review.

1reaction
amanda-tarafacommented, Aug 26, 2022

@cudders I’m hoping that by the end of September we are in a good place for releasing, but that’s a soft commitment. I’m sorry it has taken so long, but as always, it’s a matter of some other priorities getting on the way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workload identity federation | IAM Documentation
A workload identity pool is an entity that lets you manage external identities. In general, we recommend creating a new pool for each...
Read more >
Workload identity federation - Microsoft Entra
Using workload identity federation allows you to access Azure Active Directory (Azure AD) protected resources without needing to manage ...
Read more >
How Attackers Can Exploit GCP Workload Identity
GCP Workload Identity Federation is a service that allows you to securely connect applications running on GCP with your existing identity ...
Read more >
How does the GCP Workload Identity Federation work with ...
Workload Identity Provider does all the condition checks, attribute mapping specified during provider creation. It checks whether the 'iss' ...
Read more >
Concepts - Azure AD Workload Identity
Using workload identity federation allows you to access Azure Active Directory (Azure AD) protected resources without needing to manage secrets.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found