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

Rotate tailscale Auth Key #141

Closed
GrigoriyMikhalkin opened this issue Aug 4, 2022 · 1 comment
Closed

Rotate tailscale Auth Key #141

GrigoriyMikhalkin opened this issue Aug 4, 2022 · 1 comment

Comments

@GrigoriyMikhalkin
Copy link
Contributor

cc @majst01 @Gerrit91

As authentication key has an expiration date we have to rotate it. One approach would be to do it via firewall-controller. It's already connecting to the metal-api and could use the newly introduced v1/vpn/authkey endpoint for rotation.

Problem is, firewall-controller is limited to the Firewall machines. So if we would plan to extend VPN functionality to other machines this setup would have to be reimplemented. My proposal is to implement rotation in metalctl. So that metalctl would be installed on machines, serve as a Tailscale client and would be responsible for authentication key rotation.

Does that sounds good?

@GrigoriyMikhalkin
Copy link
Contributor Author

cc @majst01 @Gerrit91

That's the only part left to implement. Still up-to discussion.

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