neuron-secret-env
Secret resolver that reads credentials from process environment variables
Overview
neuron-secret-env provides a SecretResolver that reads secret values from the process
environment. The SecretSource config must specify a var_name; the resolver looks up that
variable and returns its value as a SecretLease.
Best for: local development, CI pipelines, and container environments where secrets are injected as environment variables by the orchestration layer (Kubernetes, Docker Compose, etc.).
Usage
[]
= "0.4"
= "0.4"
use EnvResolver;
use ;
use Arc;
let resolver: = new;
let source = Custom ;
let lease = resolver.resolve.await?;
Part of the neuron workspace
neuron is a composable async agentic AI framework for Rust. See the book for architecture and guides.