<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006Eou4mSABOkta Classic EngineSingle Sign-OnAnswered2026-04-01T09:00:20.000Z2019-05-10T16:13:42.000Z2019-05-15T20:59:53.000Z
1fj3q likes this.
  • t529b (t529b)

    API tokens don't show up in the system log, just the name of the account used to generate them. And you wouldn't want the tokens to be logged where others might see them. The only way to keep track of individual token usage would be to create a new account each time you need a token, and only generate one token per account, then you could track their usage by account names.

     

    It might be nice to have the ability to assign a label to a token when it's created, and then include token labels in the system log whenever they're used, if that's possible. That would allow for tracking of multiple tokens per account, which seems more efficient.

     

    Personally, I prefer the one token per account system, so I can modify the permissions on one without affecting the others.

    Expand Post
    Selected as Best
  • t529b (t529b)

    API tokens don't show up in the system log, just the name of the account used to generate them. And you wouldn't want the tokens to be logged where others might see them. The only way to keep track of individual token usage would be to create a new account each time you need a token, and only generate one token per account, then you could track their usage by account names.

     

    It might be nice to have the ability to assign a label to a token when it's created, and then include token labels in the system log whenever they're used, if that's possible. That would allow for tracking of multiple tokens per account, which seems more efficient.

     

    Personally, I prefer the one token per account system, so I can modify the permissions on one without affecting the others.

    Expand Post
    Selected as Best
  • Hi Sandeep,

     

    Thank you for posting your question.

     

    As Mike Koch confirmed, API tokens can't be found in your Okta syslogs but the actor / account associated with the API token information can be retrieved.

     

    Examples will be service accounts used to run API calls to create users , create groups or connected with your on-prem directory such as AD or LDAP.

     

    As per Mike Koch response, "It might be nice to have the ability to assign a label to a token when it's created, and then include token labels in the system log whenever they're used, if that's possible. That would allow for tracking of multiple tokens per account, which seems more efficient. " , that sounds like an interesting feature that can be created by our engineering team.

     

    I would recommend to submit a feature request too by clicking the "help and training" link in your admin console, going to community and clicking the "ideas" tab there. This area is regularly monitored by our Product Management team and if they find the feature request is popular, they might consider it as part of the product roadmap. Also other Admins might find it useful and upvote it which greatly improves the time response.

     

    Please find more information regarding API tokens in the below KB:

    https://developer.okta.com/docs/api/resources/tokens/

    https://help.okta.com/en/prod/Content/Topics/Security/API.htm

     

    If you'll have any questions or require assistance, please contact Okta Support.

     

    Kind regards,

     

    Sergiu Costea

    Technical Support Engineer

    Okta Global Customer Care

     

     

     

     

     

    Expand Post
This question is closed.
Loading
API keys