-
Notifications
You must be signed in to change notification settings - Fork 51
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
[go] Add support for authentication via Credential Helper #507
base: master
Are you sure you want to change the base?
Conversation
This change adds support for Credential Helpers, similar to Bazel's support for Credential Helpers.
Hi Yannic, thanks for the PR! Is the goal to eventually use this credentials from reclient? If so, could you instead use the Also, as an FYI, we are also working on credentials helper support in reclient and are designing the interface to be generic (should be merged in a few weeks). |
Yes, Credential Helper support for Looking forward to seeing Credential Helpers in |
Ah goot point about |
But won‘t that mean we also need to add the flag in rexec and any other tool that uses the SDK ang get a lot of duplication? I think that, from a maintainability perspective and given that the SDK already supports a bunch of auth methods, the SDK is the right place to add credential helpers. |
I suggest we sync up on the plan for generalizing the credential helper support, because it looks to me like there has been some parallel work happening on this front, and deduplicating it / getting on the same page will be useful. @Yannic 's plan was to use the Bazel credential helper (design)and basically to bring the SDK to parity with Bazel in that regard. Is that what you've been working on as well? If you guys decide that a VC will be best to hash this all out, I'd love to take part as well. |
Heads up - we are rediscussing where the creds helper flag should live internally and I'll have an update here in a couple of days. |
An update: I have a doc written and its being reviewed internally. Once we have agreement, I'll clean it up and share the interface externally (so a few more days). |
I have opened a discussion proposal here bazelbuild/reclient#16 for credentials helper support. |
@gkousik what is the current state of this? |
@daniel-sudz We are currently implementing this in the SDK repository! |
This change adds support for Credential Helpers, similar to Bazel's support for Credential Helpers.