List all personnel access token

Hello

Context : I found that a personnel access token has leaked. I only have the value of the token. How can I link this to the correct user to invalidate it ?

Also, for a security audit, I would like to list all personnel access token across the instance (self-hosted CE). I would like to list user, first chat of the token and last use. Currently only way to achieve this is impersonate each user and check tokens (but i cant see token value or even token first chars)

Thank you for your help or suggestions

2 Likes