Reroll keys
Preliminary Checks
-
[X] I have reviewed https://unkey.com/docs for existing features that would solve my problem
-
[X] I have searched for existing feature requests: https://github.com/unkeyed/unkey/issues
-
[X] This issue is not a question, general help request, or anything other than a feature request directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.
Is your feature request related to a problem? Please describe.
We should have a way to reroll a key from the UI. When rolling keys, you usually need to do it in 3 steps
- Create new key
- Add new key to all of your applications
- Delete old key
We can make that much smoother by combining step 1 and 3. The user would select a key and reroll it. Under the hood we generate a new key and set an expiration on the old one.
Axiom have a neat UI for this and we can take some inspiration from them
Describe the solution
On the keys detail page, we add an action button to reroll the key Clicking this button would open a modal similar to the one from axiom, where the user can enter an expiration time and then receives a new key after confirming.
Describe alternatives you have considered (if any)
No response
Additional context
No response
I would like to work on this, looks to me like the linked PR is not done / up2date