website/docs/sys-mgmt/service-accounts.md
Service accounts are specialized user accounts designed for machine-to-machine authentication and automation purposes rather than interactive human use. They're ideal for integrating authentik with external systems, APIs, and services.
authentik distinguishes between two types of service accounts:
Service accounts have certain limitations compared to regular user accounts:
To create a service account:
After creating the service account, you'll see a confirmation screen that shows the username and generated password (token). Make sure to copy this information somewhere secure as you'll need it for authentication.
Service account tokens have the following properties:
Tokens for service accounts are managed through the authentik Admin interface:
To create a new token for a service account:
Service accounts authenticate using HTTP Basic Authentication. The username and password (token) generated during account creation are used as credentials.
Like regular user accounts, with service accounts you can assign permissions and use RBAC.
We recommend following the principle of least privilege and only grant service accounts the permissions they absolutely need.
Service accounts are commonly used for:
When using service accounts, follow these security practices: