Skip to content

feat: implement API key regeneration - #649

Merged
ericallam merged 1 commit into
triggerdotdev:mainfrom
hmacr:issue-639
Oct 26, 2023
Merged

feat: implement API key regeneration#649
ericallam merged 1 commit into
triggerdotdev:mainfrom
hmacr:issue-639

Conversation

@hmacr

@hmacr hmacr commented Oct 18, 2023

Copy link
Copy Markdown
Contributor

Closes #639

✅ Checklist

  • I have followed every step in the contributing guide
  • The PR title follows the convention.
  • I ran and tested the code works

Testing

  • Verified regenerating the API key for an environment. Ensured it affects only this environment, and the updated API keys are reflected in the Environments & API keys page.
  • Verified the error cases when trying to re-generate the API keys.

Changelog

  • Implement resources/environments/$environmentId/regenerate-api-key API.
  • Add regenerate button for each environment in the Environments & API keys page.
  • Add a modal for user confirmation of API key regeneration.

Screenshots

Screen.Recording.2023-10-19.at.12.36.49.AM.mp4

💯

@changeset-bot

changeset-bot Bot commented Oct 18, 2023

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d30108c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ericallam
ericallam merged commit 83455e3 into triggerdotdev:main Oct 26, 2023
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

Successfully merging this pull request may close these issues.

[TRI-1415] Ability to regenerate an API key

2 participants