vals
$ vals Official Med Riskvals (vals) resolves secret URI references (ref+vault://, ref+awssecrets://, ref+gcpsecrets://, ref+sops://) across YAML/JSON files or directly into child process environments via vals exec. Supports -o json and -o yaml and delegates authentication to each provider's native credential chain.
brew install vals vals exec resolves multi-cloud secret references straight into local subprocess environment variables without exposing secret values to agent context.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports -o json/-o yaml, vals exec, stdin/file inputs, and completely headless execution with clear exit codes.
- Native
-o jsonoutput onevalandenv - Non-interactive
vals execsecret injection
Strictly read-only secret resolution; vals exec avoids stdout leakage, though vals eval/vals get emit raw resolved values.
- Read-only against secret backends
vals eval/vals getprint resolved secrets to stdout if misused
Single static Go binary available via brew, go install, and GitHub releases on macOS, Linux, and Windows.
- Zero-dependency Go binary across all platforms
Unified URI syntax (ref+...) bridges Vault, AWS, GCP, Azure, SSM, and SOPS without installing separate wrapper scripts.
- Supports 15+ secret backends in one tool
Official Helmfile ecosystem tool (helmfile/vals) under Apache-2.0 with active maintenance.
- Maintained under
helmfile/valsApache-2.0
Clear README listing supported ref+ URI schemas and provider flags.
- Detailed backend URI reference in README
Security, Auth & Guardrails
Stores no credentials of its own; delegates authentication to AWS, GCP, Azure, HashiCorp Vault, or local SOPS/age keys.
Apache-2.0 open-source CLI; free (cloud secret-manager API calls follow provider pricing).
# vals Agent Rules - Prefer `vals exec -f <file> -- <cmd>` over `vals eval` or `vals get` so resolved secrets never appear in stdout. - Never redirect `vals eval` output into tracked repository files.
Agent-Ready Command Recipes
Safe Read-Only Queries
vals exec -f env.yaml -- ./scripts/migrate.sh
Resolves ref+... URIs in env.yaml into the child environment of ./scripts/migrate.sh without printing secrets.
vals eval -f config.yaml -o json
Evaluates ref+... references in config.yaml and emits structured JSON via -o json.
Strengths for Agents
- +
vals execinjects secrets from 15+ backends straight into child processes without stdout exposure. - + Single static Go binary with
-o jsonsupport and zero local state.
Caveats & Pitfalls
- !
vals evalandvals getprint decrypted values to stdout—usevals execwhenever possible. - ! Requires underlying cloud/Vault credentials to be active in the shell environment.