Service account for API tokens

Hello,

I currently have an API token under my user account, but I see that the below page recommends “Okta recommends generating API tokens from a service account with permissions that do not change”:

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

My question is: what are the best practices for setting up a service account? For example:

  • is a service account just a regular user under Directory - People, or is there another way to set-up a service account?

  • my Okta account currently has multifactor enabled. Since many people will be sharing this service account, how do you log into it with multifactor?

Thanks,
Ryan

Hi @rbro

As service accounts are a sensible part of the infrastructure (eg. used to set-up Okta AD Agents), they should be created directly in Okta and not Active Directory.

Regarding MFA, this depends on the company’s policy and the users that will have access to it. The easiest solutions to implement are security question (user will need to enter a specific answer) or email authentication (an email is sent to a distribution list, such as it-department@company.com, so that the authentication is visible to multiple people and does not rely on a single person).

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.