docs(#2023): mark otel.headersCredential as not-yet-wired (argus review)
The option description still claimed the credential is loaded via systemd LoadCredential, but this PR removed that path. Clarify that the option is currently inert (only the unauthenticated OTEL export is implemented) and that runtime header injection is a planned follow-up, so configuring it doesn't silently no-op without explanation.
This commit is contained in:
parent
141764c6eb
commit
b20dd32189
1 changed files with 11 additions and 5 deletions
|
|
@ -264,12 +264,18 @@ in
|
|||
internal = true;
|
||||
description = ''
|
||||
Absolute path to an operator-provided secret file whose contents
|
||||
become `OTEL_EXPORTER_OTLP_HEADERS` (e.g.
|
||||
`Authorization=Bearer <token>`). Loaded via systemd
|
||||
`LoadCredential` into the unit-private credential store at
|
||||
runtime, so the token is never copied into the nix store or
|
||||
exposed in the process argv. Host-driven via
|
||||
would become `OTEL_EXPORTER_OTLP_HEADERS` (e.g.
|
||||
`Authorization=Bearer <token>`). Host-driven via
|
||||
`services.hyperhive.otel.headersCredential`.
|
||||
|
||||
**Not yet wired up.** OTEL config now ships through the managed
|
||||
claude settings json (`/etc/claude-code/managed-settings.json`),
|
||||
which is world-readable, so a secret auth header can't be baked
|
||||
into it. Setting this option currently has no effect — the
|
||||
unauthenticated export path is the only one implemented. A
|
||||
follow-up will inject the header at runtime (e.g. the harness
|
||||
writing it into the agent's `0600` `~/.claude/settings.json`),
|
||||
keeping it out of the nix store and the world-readable file.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue