Authsome writes an append-only event log toDocumentation Index
Fetch the complete documentation index at: https://authsome.agentr.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
~/.authsome/audit.log. Every line is a single JSON object. The format is intentionally readable and meant to be tailed, grepped, or forwarded to your existing log pipeline.
File location
AUTHSOME_HOME if you keep state elsewhere. See Filesystem layout.
The file is not encrypted. It contains no secret values; just event metadata. Treat it like any operational log.
Wire format
One JSON object per line, UTF-8, terminated with\n. No trailing comma, no top-level array.
| Field | Type | Description |
|---|---|---|
timestamp | string (ISO-8601, UTC) | When the event was written. Includes +00:00 suffix. |
event | string | One of the event types below. |
None values are stripped before write, so absent fields mean “not applicable”.
Event types
| Event | Written from | Common fields | Notes |
|---|---|---|---|
login | CLI | provider, connection, profile, identity. On failure also status: "failure". | Successful logins have no status field. |
logout | CLI | provider, connection | Logical removal of a connection record from the local store. The provider is not contacted. |
revoke | CLI | provider, connection: "all" | The provider’s revocation endpoint was called (where supported). All connections + client credentials for the provider are cleared. |
remove | CLI | provider, connection: "all" | Provider definition is uninstalled (custom) or reset (bundled). All local state for the provider is cleared. |
get | CLI | provider, connection, field | field is the specific field requested, or "all" if the user dumped the whole record. The value itself is never logged. |
export | CLI | provider, connection, format (env or json) | Logged whenever a secret leaves the vault for use. Secret values are never logged. |
register | CLI | provider, endpoints | A custom provider was registered. endpoints is a summary of the URLs declared in the JSON. |
scan | CLI | provider, connection, source, env_var | One entry per credential imported via authsome scan --import. source is env or a .env file path. |
refresh_failed | AuthService | provider, connection, profile, error, fallback_available | Emitted when token refresh fails. Successful refresh is silent. fallback_available: true means the still-unexpired cached token was returned. |
event values as opaque and skip them rather than failing.
Read the log
--json. The default output is pretty-printed for terminals and not stable across versions.
Tail in real time
Forwarding
The log file is plain JSON Lines, so any log shipper that handles JSONL works. Vector, Fluent Bit, Promtail, Filebeat, and journald can all tail this file directly.What the log does and doesn’t contain
Contains:- Timestamps for every significant action.
- Provider and connection names.
- Event types for login, logout, revoke, remove, get, export, register, and refresh.
- Outcome metadata (
status: "failure"on failed logins, refresh outcome strings).
- Access tokens, refresh tokens, API keys,
client_secrets, or any other secret value. - Decrypted credential records.
- Browser-bridge form submissions.
- Network request bodies passed through the proxy.
Retention
Authsome does not rotate the audit log itself. Uselogrotate, journalctl, or your log shipper’s retention policy. Typical entries are 200-400 bytes, so growth is slow but unbounded.
What’s next
CLI reference
The
log command and every other CLI surface.Filesystem layout
Where the audit log sits and what’s around it.
Threat model
How the audit log fits into authsome’s overall security posture.
HTTP daemon API
The daemon routes that emit audit events.