Open grepwood opened 1 month ago
@grepwood I believe you can use a credential helper https://github.com/bazelbuild/bazel/pull/18429
Here is the credential helpers spec, including the api for between bazel and the helper: https://github.com/bazelbuild/proposals/blob/main/designs/2022-06-07-bazel-credential-helpers.md
Crossposting from https://github.com/bazelbuild/bazel/issues/7469
For the last 3 years people have been wanting to know how to achieve this. The only person who did is sitting duck and not telling anybody.
We owe this state of affair to the lackluster documentation: https://bazel.build/rules/lib/builtins/repository_ctx
As such I would like to ask on behalf of everyone who asked so far, to please update the documentation in that regard.