https://github.com/osquery/osquery logo
#fleet
Title
# fleet
s

Scott Blake

02/17/2022, 3:54 PM
Can anyone tell me how long before an API token expires? Specifically on a user/password account? It looks like it creates a new token every time you login and I'm trying to learn more about the underlying process.
n

n8felton

02/17/2022, 4:16 PM
Just to add to this in case it helps, we're using SSO with Okta, so we're using a local service account with the admin role, and the API token for some automations.
likewise, is there a way to force expire the API token for a user
s

Sarah Gillespie

02/17/2022, 5:21 PM
You can force a reset of API tokens via the user settings tab in UI
We’re in the process of revamping tokens currently. Here’s are the issues so that you can follow where things are headed: https://github.com/fleetdm/fleet/issues/3927 https://github.com/fleetdm/fleet/issues/3928
n

n8felton

02/17/2022, 6:11 PM
Thank you. TIL the API only user exists.
🙌 1
s

Scott Blake

02/17/2022, 7:01 PM
Great, thanks @Sarah Gillespie.