Skip to content

Commit

Permalink
README: use same secret length in example as official docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliButz committed Jan 30, 2025
1 parent 48fda0c commit e877502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Example configuration:

The `environmentFile` option references a systemd [EnvironmentFile](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#EnvironmentFile=), that needs to be placed on the same host as authentik and should only be accessible to root. Secrets can be specified in this environment file without causing them to be placed in the world-readable /nix/store. Note that `pkgs.writeText` and similar tooling also causes secrets to be placed in the /nix/store.

After generating a secret key for authentik, for example using `openssl rand -base64 32` the file's contents should look like this:
After generating a secret key for authentik, for example using `openssl rand -base64 60` the file's contents should look like this:

```
AUTHENTIK_SECRET_KEY=<generated secret key>
Expand Down

0 comments on commit e877502

Please sign in to comment.