docs: match authentication, limits and API to the code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
513741e403
commit
d48cf9d3f0
14 files changed
+158
-72
No files matched your search
+10
-5
@@ -31,7 +31,8 @@ acaua serve --bind 127.0.0.1:8787 --data-dir .acaua
|
||||
|
||||
The default bind is loopback-only. Login (with MFA) is mandatory in every mode,
|
||||
but plain HTTP is not encrypted: the daemon refuses to start without
|
||||
`ACAUA_TRANSPORT` set to `local`, `tls` or `proxy` (see
|
||||
`ACAUA_TRANSPORT` set to `local`, `tls` or `proxy`; `local` refuses a non-loopback
|
||||
`--bind` unless `ACAUA_RUNTIME=container` (see
|
||||
[docker.md](docker.md#authentication-and-transport)). In `tls` mode `--bind`
|
||||
must be an `IP:port`. The API is documented in [architecture.md](architecture.md#api).
|
||||
|
||||
@@ -78,10 +79,14 @@ acaua auth reset --username admin --data-dir .acaua
|
||||
docker compose exec acaua acaua auth reset --username admin --data-dir /data/acaua
|
||||
```
|
||||
|
||||
Local recovery for an administrator who lost the password or the authenticator.
|
||||
It removes the user's MFA, recovery codes, sessions and all API tokens (read tokens included), clears the login throttle, writes an audit
|
||||
entry and prints a **temporary password once**. The next login with it requires
|
||||
enrolling MFA again and choosing a new password before any ordinary session.
|
||||
Local recovery for any account, administrator or analyst, that lost the password
|
||||
or the authenticator. It removes the user's MFA, recovery codes, sessions and all
|
||||
API tokens (read tokens included), clears the per-user count of MFA and session
|
||||
password failures, writes an audit entry and prints a **temporary password once**.
|
||||
The next login with it requires choosing a new password before any ordinary session;
|
||||
an administrator enrolls MFA again first. Login failure counts live in the daemon's
|
||||
memory, so the command does not clear them: wait for the delay, use another
|
||||
address, or restart the daemon.
|
||||
The command edits the data directory only: it never starts the daemon and does
|
||||
not need `ACAUA_TRANSPORT`. A running daemon sees the change on its next request.
|
||||
If the secret key is an external file, `ACAUA_SECRET_KEY_FILE` must be set for
|
||||
|
||||
Reference in new issue
Block a user