Please enable JavaScript.
Coggle requires JavaScript to display documents.
API Key UI - Coggle Diagram
API Key UI
Who
Admin
There should be a tab which lists userApi keys for a particular user i..e layout view changes
The Add / Edit buttons should be disabled, since we will use the Generate API key
In the row entry for the key there should be a context menu action which is inline for activating / deactivating the api key
"Generate API Key" CTA on the user form page
creation fields: name,expiresAt (30,60,90 days, never, custom)
generate api is called
The api key is shown in the response for the popup. Once the popup is closed it is lost.
In the user form, have a toggle flag which allows enabling/disabling if a user can create his api keys
User
Have a another tab in user account settings to Generate/List the users keys
name,maskedKey,expires,lastUsed,Active
-
-
Why
Admin
So an admin can create api keys for another user
i.e (to revoke the api key / to rotate an api for a user) if no access
-
-
-