tailcfg: document SSHPrincipal.PubKeys URL expansions

From f74ee80abe which lacked docs.

Updates #3802

Change-Id: Ia7df05a486ae383cc6d9aca9dfe487b04e243ad5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
pull/4480/head
Brad Fitzpatrick 2 years ago committed by Brad Fitzpatrick
parent 5b4154342e
commit f7cb6630e7

@ -1706,6 +1706,10 @@ type SSHPrincipal struct {
//
// As a special case, if len(PubKeys) == 1 and PubKeys[0] starts
// with "https://", then it's fetched (like https://github.com/username.keys).
// In that case, the following variable expansions are also supported
// in the URL:
// * $LOGINNAME_EMAIL ("foo@bar.com" or "foo@github")
// * $LOGINNAME_LOCALPART (the "foo" from either of the above)
PubKeys []string `json:"pubKeys,omitempty"`
}

Loading…
Cancel
Save