Summary
Follow-up from the review discussion on #78: the embedding provider api_key currently lives in plaintext in config.json, mitigated only by the documented chmod 600 guidance. Support supplying the key via an environment variable so it never needs to be written to disk.
Acceptance Criteria
Notes
Suggested by @ergut in the PR #78 review: "plaintext api_key in config.json is fine for now given the chmod guidance, though env-var support would make a nice follow-up."
Summary
Follow-up from the review discussion on #78: the embedding provider
api_keycurrently lives in plaintext inconfig.json, mitigated only by the documentedchmod 600guidance. Support supplying the key via an environment variable so it never needs to be written to disk.Acceptance Criteria
api_key_envfield naming the variable, or a documented well-known variable that overridesapi_key)api_keyvalue inconfig.jsonVECTOR_SEARCH.mdprovider setup docs updated to recommend the env-var pathapi_keyconfigs keep working unchangedNotes
Suggested by @ergut in the PR #78 review: "plaintext
api_keyin config.json is fine for now given the chmod guidance, though env-var support would make a nice follow-up."