cmd/tailscale/cli,feature: add support for identity federation (#17529)

Add new arguments to `tailscale up` so authkeys can be generated dynamically via identity federation.

Updates #9192

Signed-off-by: mcoulombe <max@tailscale.com>
This commit is contained in:
Max Coulombe
2025-10-17 18:05:32 -04:00
committed by GitHub
parent 54cee33bae
commit 6a73c0bdf5
14 changed files with 420 additions and 14 deletions
@@ -0,0 +1,13 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by gen.go; DO NOT EDIT.
//go:build ts_omit_identity_federation
package buildfeatures
// HasIdentityFederation is whether the binary was built with support for modular feature "Identity token exchange for auth key support".
// Specifically, it's whether the binary was NOT built with the "ts_omit_identity_federation" build tag.
// It's a const so it can be used for dead code elimination.
const HasIdentityFederation = false
@@ -0,0 +1,13 @@
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// Code generated by gen.go; DO NOT EDIT.
//go:build !ts_omit_identity_federation
package buildfeatures
// HasIdentityFederation is whether the binary was built with support for modular feature "Identity token exchange for auth key support".
// Specifically, it's whether the binary was NOT built with the "ts_omit_identity_federation" build tag.
// It's a const so it can be used for dead code elimination.
const HasIdentityFederation = true