Skip to content

feat(backends): support reading API keys from external key files - #243

Open
AdamMagued wants to merge 1 commit into
schachmat:masterfrom
AdamMagued:feat-issue-232
Open

AdamMagued wants to merge 1 commit into
schachmat:masterfrom
AdamMagued:feat-issue-232

Conversation

@AdamMagued

Copy link
Copy Markdown

Fixes #232

Summary

  • Added *-api-key-file configuration support across weather backends
  • Prioritizes inline *-api-key when set, falling back to reading secret file path
  • Added unit tests validating key file loading, precedence, and whitespace trimming

Verified in container sandbox.

Signed-off-by: AdamMagued <adamismailmageud@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide API Key in a Separate File

1 participant