Skip to content

Rotate API Key #402

Open
Open
@dahal

Description

@dahal

CleanShot 2024-06-29 at 03 16 44

Implement a TRPC endpoint to rotate the key

  • When user click on rotate key, give them them an AlertDialog, we are using shadcn/ui, please use this component
  • The message should say Are you sure you want to rotate this key? please make sure to replace existing API keys if you have used it anywhere.
  • Buttons should be Cancel and Continue
  • When clicking on Continue show the same modal we have on create-key.tsx component, auto copy the regenerated key, basically the flow should similar to creating new key.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions