Repository navigation
website/docs: improve service account docs - #22145
Conversation
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22145 +/- ##
==========================================
- Coverage 93.29% 93.29% -0.01%
==========================================
Files 1033 1033
Lines 60154 60154
Branches 400 400
==========================================
- Hits 56122 56121 -1
- Misses 4032 4033 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-5c01a5903cff7c1d6fa46a10cf29a195bac0b0be
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-5c01a5903cff7c1d6fa46a10cf29a195bac0b0beAfterwards, run the upgrade commands from the latest release notes. |
|
Leet's leave this as Draft for now... I already am working on the docs about creating a Service account (the labels have changed), so leet me get that merged for the release and then let's go back and pick out the goodness form this one that we still want to add. |
|
Agree |
|
|
||
| ## How service accounts work | ||
|
|
||
| A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens: |
There was a problem hiding this comment.
| A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens: | |
| A user-created service account is an authentik user of type `Service account` that authenticates using: |
|
|
||
| A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens: | ||
|
|
||
| - **App passwords** authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen. |
There was a problem hiding this comment.
| - **App passwords** authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen. | |
| - **App passwords**: Authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen. |
| A user-created service account is an authentik user with the `Service account` type and an unusable password. Instead of a normal password, it authenticates with tokens: | ||
|
|
||
| - **App passwords** authenticate to flows and protocol clients that accept a username and password, such as LDAP bind clients. When you create a service account from **Directory** > **Users**, authentik creates an app password for the account and shows it once in the confirmation screen. | ||
| - **API tokens** authenticate to the authentik API with HTTP Bearer authentication. Use API tokens for scripts, CI/CD jobs, and other automation that calls `/api/v3/` endpoints. |
There was a problem hiding this comment.
| - **API tokens** authenticate to the authentik API with HTTP Bearer authentication. Use API tokens for scripts, CI/CD jobs, and other automation that calls `/api/v3/` endpoints. | |
| - **API tokens**: Authenticate to the authentik API with HTTP Bearer authentication. Use API tokens for scripts, CI/CD jobs, and other automation that calls `/api/v3/` endpoints. |
| 5. Cannot have permissions assigned directly if they are internal service accounts. | ||
| 6. Cannot change their own password or manage their own account settings. | ||
| 7. Are subject to token expiration policies that differ from regular user accounts. | ||
| - They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand's default application when one is configured; otherwise access to the interface is denied. |
There was a problem hiding this comment.
| - They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand's default application when one is configured; otherwise access to the interface is denied. | |
| - They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand’s default application when configured; otherwise, access to the interface is denied. |
| 6. Cannot change their own password or manage their own account settings. | ||
| 7. Are subject to token expiration policies that differ from regular user accounts. | ||
| - They are intended for non-interactive use and cannot access the authentik user or Admin interfaces. If a service account authenticates in a browser, authentik redirects it to the brand's default application when one is configured; otherwise access to the interface is denied. | ||
| - They do not have a usable account password. Use an app password or API token instead. |
There was a problem hiding this comment.
| - They do not have a usable account password. Use an app password or API token instead. | |
| - They do not have a usable account password. They instead use app passwords or API tokens. |
Merge the current main branch into the service account docs PR and resolve the docs conflict with the requested review wording. Agent-thread: https://sdko.org/internal/threads/019e939d-4e6d-7f20-8f56-63e6f8e12374 A7k-product: product A7k-product-repo: 1 Co-authored-by: Agent <[email protected]>
|
|
…sion-2026.5) (#22885) * Cherry-pick #22145 to version-2026.5 (with conflicts) This cherry-pick has conflicts that need manual resolution. Original PR: #22145 Original commit: 63ed60b * website/docs: resolve service account conflict markers Remove unresolved cherry-pick markers from the service account docs backport. Agent-thread: https://sdko.org/internal/thr/ak/019ea7c2-e332-7321-9fee-d44f427b3f79 A7k-product: product A7k-product-repo: 2 Co-authored-by: Agent <[email protected]> --------- Co-authored-by: Dominic R <[email protected]> Co-authored-by: Agent <[email protected]>
Closes #18710