You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/auth.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,9 +51,11 @@ Management auth is selected by `AGENT_CONTROL_AUTH_MODE`.
51
51
| Mode | Meaning |
52
52
| --- | --- |
53
53
|`none`| No credentials required. Intended for local development only. |
54
-
|`api_key`| Validate caller credentials locally with `AGENT_CONTROL_API_KEYS`. This is the default. `header` is accepted as a backwards-compatible alias. |
54
+
|`api_key`| Validate caller credentials locally with `AGENT_CONTROL_API_KEYS` and/or `AGENT_CONTROL_ADMIN_API_KEYS`. Requires `AGENT_CONTROL_API_KEY_ENABLED=true`. `header` is accepted as a backwards-compatible alias. |
55
55
|`http_upstream`| POST each management authorization decision to `AGENT_CONTROL_AUTH_UPSTREAM_URL`. |
56
56
57
+
When `AGENT_CONTROL_AUTH_MODE` is unset, startup selects `api_key` if local API-key validation is enabled and `none` otherwise.
58
+
57
59
Runtime auth is selected by `AGENT_CONTROL_RUNTIME_AUTH_MODE`.
|`api_key`|`jwt`| Local management keys with short-lived target-bound runtime tokens. |
73
+
|`api_key`|`jwt`| Local management keys with short-lived target-bound runtime tokens. This does not perform per-target authorization; any valid local API key can exchange for any target in the local namespace. |
72
74
|`http_upstream`|`jwt`| External identity or authorization service for management, local token verify for high-volume runtime calls. |
73
75
|`none`|`none`| Single-process local development. Do not use in production. |
74
76
@@ -125,6 +127,7 @@ Status handling:
125
127
|`429`|`503` with a rate-limit detail and `Retry-After` hint when present. |
126
128
| Other statuses or upstream network errors | Fail closed with `503`. |
127
129
| Malformed `200` principal response | Fail closed with `502`. |
130
+
|`200` target grant that conflicts with request context | Fail closed with `403`. |
0 commit comments