feat: Allow provider key by environment reference

Open
#1,328 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@joei4cm is already working on this.

Since Nov 20, 2026.

  • #1380 by @joei4cm — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
39/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
cli, security

Research direction

Start by locating where config.json provider keys are parsed and where the engine is built; the issue names no files or tests. Read how provider configuration reaches the engine, then determine which reference forms the project should support and how they are resolved in memory. Done means a documented, tested way to configure and resolve the selected secret reference without storing the key in plain text.

Written by the indexing model from the issue text.

Description

Problem

Currently, a provider key is accepted only as a literal value in config.json. Theres no environment-variable interpolation, no file reference, no stdin and no keychain lookup.
That means a deployment that keeps its keys in a secret manager has to write the key into config.json in plain text for as long as the host runs, and the file survives a crash.

Proposal

Accepting a reference instead of a literal for a provider key, for example an environment-variable reference (like {"apiKey": {"env": "PROVIDER_API_KEY"}} or an apiKeyEnv field), a file reference, or an OS keychain entry. Resolving it at engine build time, in memory only, would do it

Alternatives considered

No response

Area

CLI / TUI

Additional context

No response

Dominant language
Python
Stars
4.1k
Forks
94
Avg merge
2d 7h
Merged PRs (30d)
216

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EverMind-AI/Raven

All issues in EverMind-AI/Raven

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.