MCPcopy Index your code
hub / github.com/tailscale/tailscale / getAuthKey

Method getAuthKey

tsnet/tsnet.go:721–729  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

719}
720
721func (s *Server) getAuthKey() string {
722 if v := s.AuthKey; v != "" {
723 return v
724 }
725 if v := os.Getenv("TS_AUTHKEY"); v != "" {
726 return v
727 }
728 return os.Getenv("TS_AUTH_KEY")
729}
730
731func (s *Server) getControlURL() string {
732 if v := s.ControlURL; v != "" {

Callers 1

resolveAuthKeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected