Align operator guidance with configured secrets startup

This commit is contained in:
2026-11-23 14:31:49 +00:00
parent 6026933b24
commit c5970ff834
9 changed files with 49 additions and 36 deletions

View File

@@ -324,15 +324,15 @@ Likely causes:
- the named environment variable is absent or empty;
- the selected secrets directory lacks a file with that exact name;
- a process environment variable exists but is empty, so bootstrap correctly
leaves it in place; or
- a process environment variable is empty and the selected bootstrap policy
preserves it; or
- the Narratio reference name does not match `api_key_env` in the selected
Notarius/PromptKit profile.
Safe fix:
- set the exact nonempty environment variable or provide an equivalently named
file through the conventional or explicit secrets directory;
file through the pipeline-configured secrets directory;
- remove, set to `null`, or set to `[]` when that deployment needs no credential;
and
- use `config show`, `config sources`, and `config diff` to inspect the public
@@ -359,7 +359,7 @@ Likely causes:
- the Narratio pipeline still uses v1 endpoint, model, capacity, singular key,
report, or retention settings;
- the named key is missing or empty, including a present but empty process
environment variable that takes precedence over a secrets-directory file;
environment variable preserved by the selected bootstrap policy;
- Audita's external v2 file references a backend credential name not forwarded
by `pipeline.audita.credentials`, including a backend not selected by the
current profile; or
@@ -962,8 +962,8 @@ Symptom:
Likely causes:
- missing, unreadable, or invalid explicit `--secrets-dir`;
- invalid entries in `/usr/local/etc/narratio/secrets`;
- a missing, unreadable, or invalid pipeline-configured secrets directory;
- invalid secret-directory entries;
- missing credential environment variables;
- invalid S3 endpoint/bucket settings.
@@ -976,7 +976,7 @@ env | sed 's/=.*//' | grep -E 'OBJECT_STORAGE|AWS|AUDITA|NOTARIUS|SCRIPTORIUM'
Safe fix:
- correct `--secrets-dir`, secret-file type/name, and operator-managed permissions;
- correct the main pipeline secrets selection, file type/name, and operator-managed permissions;
- provide required env vars;
- keep secret values out of YAML.