# NousResearch/hermes-agent · Add api_key_file support to config schema

## Open now

- 1 issue, 1 PR open on GitHub.
- #18709: \[Feature\]: Setup templates reference api_key_file: / *_API_KEY_FILE env vars but config schema doesn't recognize them — silently ignored, leading to "I rotated the key" confusion
- PR #19252: fix(config): support api key files

The config schema did not recognize api_key_file fields or related env vars, causing them to be silently ignored. A fix was proposed to properly support API key file references in configuration.

## TL;DR

- 3 member(s): 1 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.45`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #18709: \[Feature\]: Setup templates reference api_key_file: / *_API_KEY_FILE env vars but config schema doesn't recognize them — silently ignored, leading to "I rotated the key" confusion

## Closed / duplicate issues

- #19203: \[Feature\]: Setup templates / wizard reference api_key_file: (and *_API_KEY_FILE env vars) but config schema doesn't recognize them — silently ignored, leading to "I rotated the key" confusion

## Prior & competing PRs

- **#19252: fix(config): support api key files**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/config.py`, `hermes_cli/env_loader.py`, `hermes_cli/runtime_provider.py`, `tests/hermes_cli/test_env_loader.py`, `tests/hermes_cli/test_runtime_provider_resolution.py`

## Fix status

- No merged fix on record.
- Subsystem: `hermes_cli`
