pulumi / pulumi-cloud-requests

Welcome to the public issue tracker for Pulumi Cloud (app.pulumi.com)! Feature requests and bug reports welcome!
10 stars 4 forks source link

Expired tokens show in the access token page and make it hard to see active tokens #425

Open pierskarsenbarg opened 3 months ago

pierskarsenbarg commented 3 months ago

If you use the OIDC Pulumi access tokens you may end up with something like this:

image

that doesn't show which tokens are expired.

Also if these are going to be created every time there is an update or a preview this list is going to get very big very quickly so is there going to be some kind of garbage collection for deleting expired tokens?

Affected feature

meagancojocar commented 3 months ago

We are adding the column for expiration date this week, so editing this to just focus on the volume of tokens. We haven’t started work on filtering out expired tokens. Options we are considering:

  1. Expired tokens are removed from the access tokens page entirely.
  2. We have a filter for expired tokens on by default, but you can remove the filter and see them.
  3. We order the table by expiry date desc so non-expired tokens are always shown first.