unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Reroll keys

Open chronark opened this issue 1 year ago • 2 comments

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

  1. Create new key
  2. Add new key to all of your applications
  3. 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 CleanShot 2024-08-28 at 21 34 43@2x

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

chronark avatar Aug 28 '24 19:08 chronark

I would like to work on this, looks to me like the linked PR is not done / up2date

Flo4604 avatar Dec 26 '24 09:12 Flo4604