synthetic-monitoring-app icon indicating copy to clipboard operation
synthetic-monitoring-app copied to clipboard

Document how to list / invalidate SM api tokens generated in the plugin

Open ckbedwell opened this issue 1 year ago • 1 comments

What would you like to be added:

On the config page of SM we allow users to generate access tokens.

Screenshot of the config section of the Synthetic Monitoring plugin. There is some text describing access tokens and a primary button to generate one.

However we don't provide anyway for users to know how many access tokens have been made and how they can revoke them.

Why is this needed: To make it clearer to users how they can manage their access tokens.

Additional context It would be worth investigating if we could list / delete access tokens within the application rather than directing users to the documentation of how to use the api externally.

ckbedwell avatar Jun 12 '24 10:06 ckbedwell

We need to provide:

  • a list of existing tokens, along with their creation and last used dates
  • a way to invalidate them
  • a way to name them (otherwise how are users going to identify them?)
  • optionally specify an expiration date

mem avatar Jun 20 '24 16:06 mem

Longer term we may migrate to grafana cloud access tokens for this.

peterschretlen avatar Dec 16 '24 14:12 peterschretlen