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
Keys are cached in memory with a configurable TTL (default: 1 hour). A `refresh_mutex` serializes refresh operations so concurrent requests coalesce into a single HTTP fetch. The cache refreshes:
147
+
154
148
- When the TTL expires (on next request, re-checked under the mutex to avoid thundering herd).
155
149
- Immediately when a JWT references a `kid` not in the cache (handles key rotation).
156
150
@@ -192,6 +186,7 @@ These methods accept either an OIDC Bearer token (CLI users) or a sandbox secret
192
186
|`OpenShell/GetSandboxConfig`| CLI reads effective sandbox policy and settings; sandbox callers may still use the shared secret |
193
187
194
188
**Sandbox-secret restriction on `UpdateConfig`:** When a sandbox-secret-authenticated caller invokes `UpdateConfig`, the handler in `policy.rs` enforces strict scope limits via `validate_sandbox_secret_update()`. The caller:
189
+
195
190
-**Must** provide a sandbox `name` (sandbox-scoped only).
196
191
-**Must** include a `policy` payload (policy sync only).
197
192
-**May not** set `global = true` (no global config mutation).
0 commit comments