Skip to content

Conversation

@erka
Copy link
Member

@erka erka commented Oct 31, 2025

This PR

Add experimental WithFromEnv() option to configure the OFREP provider using
environment variables.

  • Add WithFromEnv() configuration option supporting:
    • OFREP_ENDPOINT: base URI for the OFREP service
    • OFREP_TIMEOUT: timeout duration (e.g., "30s", "500ms")
    • OFREP_API_KEY: API key for X-API-Key authentication
    • OFREP_BEARER_TOKEN: token for Bearer authentication
    • OFREP_HEADERS: comma-separated custom headers

Related Issues

@erka erka force-pushed the rd/ofrep branch 3 times, most recently from 090b8f0 to 2bb7de9 Compare November 6, 2025 11:57
@erka erka changed the title feat(ofrep): add environment variable configuration and improve provider feat(ofrep): add environment variable configuration Nov 6, 2025
Add experimental WithFromEnv() option to configure the OFREP provider using
environment variables.

New features:
- Add WithFromEnv() configuration option supporting:
  - OFREP_ENDPOINT: base URI for the OFREP service
  - OFREP_TIMEOUT: timeout duration (e.g., "30s", "500ms")
  - OFREP_API_KEY: API key for X-API-Key authentication
  - OFREP_BEARER_TOKEN: token for Bearer authentication
  - OFREP_HEADERS: comma-separated custom headers

Signed-off-by: Roman Dmytrenko <[email protected]>
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.

2 participants