diff options
| author | Sam Thanawalla <samthanawalla@google.com> | 2024-08-13 16:48:11 +0000 |
|---|---|---|
| committer | Sam Thanawalla <samthanawalla@google.com> | 2024-10-01 15:21:38 +0000 |
| commit | 8194d735cff90871b1ea5c92e83ddd50abdd4185 (patch) | |
| tree | 1abb66e9f1a31a6f69085dc5745c3f3ab7486e1f /src/runtime | |
| parent | b2a856e82cf889cdba26476b5d55f8dd340604d0 (diff) | |
| download | go-8194d735cff90871b1ea5c92e83ddd50abdd4185.tar.xz | |
cmd/go: add GOAUTH mechanism for HTTP authentication
This change adds a new environment variable GOAUTH which takes a semicolon-separated list of commands to run for authentication during go-import resolution and HTTPS module mirror protocol interactions.
This CL only supports netrc and off. Future CLs to follow will extend support to git and a custom authenticator command.
For #26232
Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Change-Id: I6cfa4c89fd27a7a4e7d25c8713d191dc82b7e28a
Reviewed-on: https://go-review.googlesource.com/c/go/+/605256
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
