Skip to content

Commit

Permalink
Review: update stale doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tener committed Jan 11, 2023
1 parent f7e05d8 commit 9f4f453
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tool/tsh/gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,9 @@ func getGCPSecret() (string, error) {
//
// At minimum clients should work with these variables set:
// - HTTPS_PROXY, for routing the traffic through the proxy
// - MSI_ENDPOINT, for informing the client about credential provider endpoint
//
// The request flow to remote server (i.e. GCP APIs) looks like this:
// clients -> local forward proxy -> local ALPN proxy -> remote server
//
// However, with MSI_ENDPOINT variable set, clients will reach out to this address for tokens.
// We intercept calls to https://gcp-msi.teleport.dev using alpnproxy.GCPMSIMiddleware.
// These calls are served entirely locally, which helps the overall performance experienced by the user.
func (a *gcpApp) StartLocalProxies() error {
// HTTPS proxy mode
if err := a.startLocalALPNProxy(""); err != nil {
Expand Down

0 comments on commit 9f4f453

Please # to comment.