Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Tailscale OAuth Client authentication #17

Open
caius opened this issue Jul 4, 2024 · 1 comment
Open

Support Tailscale OAuth Client authentication #17

caius opened this issue Jul 4, 2024 · 1 comment

Comments

@caius
Copy link
Owner

caius commented Jul 4, 2024

Tailscale Auth Keys expire every 90 days (maximum) which makes it annoying to keep updating the Spacelift context with a new auth key every 3 months. The workaround/solution to this from Tailscale is to implement an OAuth client that can generate a tailscale auth key "just in time" whenever one is needed.

The easy way is probably to use tailscale's get-authkey utility to take in OAuth Token/secret and generate an auth key for spacetail to then consume.

@caius
Copy link
Owner Author

caius commented Jul 4, 2024

Ideally we compile get-authkey at image build time however, not at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant