# hashicorp/envconsul

Launch a subprocess with environment variables using data from @HashiCorp Consul and Vault.

Repository: https://github.com/hashicorp/envconsul
Canonical: https://ross.abutalabs.com/products/envconsul
Homepage: https://www.hashicorp.com/
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: golang, consul, vault
Last push: 2026-07-09T10:55:34+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 91, release rhythm 60, longevity 100
- inputs: {"age_days": 4495, "days_push": 55, "days_rel": 55, "gap_med": 268.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2071, forks 194 (observed 2026-08-28T04:06:10.429217+00:00)

## What it is
Envconsul is a Go CLI tool that launches a subprocess with environment variables populated from HashiCorp Consul key-value data and Vault secrets. Applications remain unaware of the source, reading plain environment variables, enabling 12-factor-style portable configuration.

## Use cases
- inject vault secrets into app environment variables
- launch a subprocess with config from consul kv
- 12-factor app configuration without code changes
- populate env vars from vault at container startup
- run apps with secrets without exposing them in files
- dynamically refresh environment variables from consul

## When to choose
- you use HashiCorp Consul and/or Vault for config and secrets
- you want apps to read plain env vars with no SDK changes
- you need cross-platform secret injection with no runtime dependencies

## When to avoid
- you don't use Consul or Vault
- you need Kubernetes-native secret mounting instead
- you want a library to embed in-process rather than a subprocess wrapper

## Facets
- artifact type: cli-tool
- maturity: active
- function: configuration-management, secrets-management, cli, developer-tools
- domain: developer-tools, security, infrastructure-as-code
- platform: windows, cross-platform, go
- tags: hashicorp, consul, vault, environment-variables, 12-factor, secrets-injection, subprocess-launcher, devops, linux, macos, docker

## Member repositories
- hashicorp/envconsul (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:10.429217+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:56:42.365032+00:00, confidence not recorded.
  - readme: https://github.com/hashicorp/envconsul (fetched 2026-08-28T04:06:10.429217+00:00, sha c6244287737a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
