Download plugins/dashboard_auth/drain/plugin.yaml from SaylorTwift/hermes-agent: direct link, hf CLI and curl.
- Browser
- Download file 808 Bytes
-
https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/plugins/dashboard_auth/drain/plugin.yaml
- Command line
-
hf download hf://SaylorTwift/hermes-agent/plugins/dashboard_auth/drain/plugin.yaml
-
curl -L -o plugin.yaml https://huggingface.co/SaylorTwift/hermes-agent/resolve/main/plugins/dashboard_auth/drain/plugin.yaml
808 Bytes
| name: drain | |
| version: 1.0.0 | |
| description: "Dashboard auth provider — non-interactive shared-bearer-secret for the gateway drain-control endpoint. The first consumer of the generic token-auth capability (supports_token/verify_token). nous-account-service provisions a per-agent unique secret via HERMES_DASHBOARD_DRAIN_SECRET; this provider verifies an inbound Authorization bearer token against it with a constant-time compare and registers /api/gateway/drain as token-authable. Fails CLOSED: a weak/short/low-entropy secret (< 256 bits) is rejected at registration and the endpoint stays disabled. No-op when the env var is unset. Behavioural knobs (scope, min_secret_chars) live under dashboard.drain_auth in config.yaml." | |
| author: NousResearch | |
| kind: backend | |
| requires_env: | |
| - HERMES_DASHBOARD_DRAIN_SECRET | |