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

FR: easy way to "regenerate" keys #4904

Closed
josharian opened this issue Jun 22, 2022 · 3 comments
Closed

FR: easy way to "regenerate" keys #4904

josharian opened this issue Jun 22, 2022 · 3 comments
Labels
api Issues around the Tailscale REST API fr Feature request L3 Some users Likelihood P1 Nuisance Priority level T0 New feature Issue type

Comments

@josharian
Copy link
Contributor

josharian commented Jun 22, 2022

Some of my auth keys are set to expire.

I need to generate some new keys to replace them.

In order to do that, I need to carefully recreate the exact settings of the old keys: Reusable? Ephemeral? Which tags?

It'd be nice if there was a way to say "make me a new authkey configured just like this old authkey".

GitHub has this; they call it "regenerating" a key. It's a nice experience; less clicking, less stress.

@josharian josharian added fr Feature request needs-triage labels Jun 22, 2022
@DentonGentry DentonGentry added L3 Some users Likelihood P1 Nuisance Priority level T0 New feature Issue type api Issues around the Tailscale REST API and removed needs-triage labels Jul 1, 2022
@DentonGentry
Copy link
Contributor

#3243 (comment) describes a mechanism whereby an app can get a long-lived OAuth token which can be used to programmatically create API keys and authkeys. The authkey settings would be in code, not a human entering settings on a web page.

@DentonGentry
Copy link
Contributor

DentonGentry commented Feb 4, 2023

The OAuth API support is now available:

We're likely to focus on the OAuth API endpoints going forward, and not likely to provide a key re-issuance facility on the website.

@DentonGentry
Copy link
Contributor

I think the programatic way to allocate an authkey using the OAuth API implements the goal of this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues around the Tailscale REST API fr Feature request L3 Some users Likelihood P1 Nuisance Priority level T0 New feature Issue type
Projects
None yet
Development

No branches or pull requests

2 participants