Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
envhaul
command
Command envhaul generates .env files from a config file, resolving values from AWS SSM Parameter Store and Secrets Manager, HashiCorp Vault and OpenBao, 1Password, Google Cloud Secret Manager and Azure Key Vault.
|
Command envhaul generates .env files from a config file, resolving values from AWS SSM Parameter Store and Secrets Manager, HashiCorp Vault and OpenBao, 1Password, Google Cloud Secret Manager and Azure Key Vault. |
|
internal
|
|
|
awsclient
Package awsclient loads and caches AWS SDK configurations per named profile and region, and turns common credential failures into actionable messages.
|
Package awsclient loads and caches AWS SDK configurations per named profile and region, and turns common credential failures into actionable messages. |
|
brand
Package brand renders the envhaul banners in the brand colors.
|
Package brand renders the envhaul banners in the brand colors. |
|
cli
Package cli implements the envhaul command-line interface.
|
Package cli implements the envhaul command-line interface. |
|
config
Package config loads and validates envhaul configuration files.
|
Package config loads and validates envhaul configuration files. |
|
dotenv
Package dotenv renders, parses and atomically writes .env files.
|
Package dotenv renders, parses and atomically writes .env files. |
|
gitcheck
Package gitcheck reports whether generated files are ignored by git, so envhaul can warn before secrets end up in a commit.
|
Package gitcheck reports whether generated files are ignored by git, so envhaul can warn before secrets end up in a commit. |
|
pipe
Package pipe implements the transformation functions that can be chained onto a reference with "|", e.g.
|
Package pipe implements the transformation functions that can be chained onto a reference with "|", e.g. |
|
provider
Package provider defines the interface every value source implements and a registry that maps reference schemes to providers.
|
Package provider defines the interface every value source implements and a registry that maps reference schemes to providers. |
|
provider/awssecrets
Package awssecrets reads values from AWS Secrets Manager.
|
Package awssecrets reads values from AWS Secrets Manager. |
|
provider/awsssm
Package awsssm reads values from AWS Systems Manager Parameter Store.
|
Package awsssm reads values from AWS Systems Manager Parameter Store. |
|
provider/azkv
Package azkv reads secrets from Azure Key Vault, authenticating with Azure's default credential chain (environment, workload and managed identity, then an `az login` or `azd auth login` session).
|
Package azkv reads secrets from Azure Key Vault, authenticating with Azure's default credential chain (environment, workload and managed identity, then an `az login` or `azd auth login` session). |
|
provider/gcpsecrets
Package gcpsecrets reads secrets from Google Cloud Secret Manager through its REST API, authenticating with Application Default Credentials (as `gcloud auth application-default login` sets them up).
|
Package gcpsecrets reads secrets from Google Cloud Secret Manager through its REST API, authenticating with Application Default Credentials (as `gcloud auth application-default login` sets them up). |
|
provider/onepassword
Package onepassword reads secrets from 1Password through the 1Password CLI (op), reusing whatever sign-in op already has: the desktop app integration, `op signin`, or a service account token in CI.
|
Package onepassword reads secrets from 1Password through the 1Password CLI (op), reusing whatever sign-in op already has: the desktop app integration, `op signin`, or a service account token in CI. |
|
provider/vault
Package vault reads secrets from the KV secrets engine of HashiCorp Vault and OpenBao, whose HTTP APIs are compatible.
|
Package vault reads secrets from the KV secrets engine of HashiCorp Vault and OpenBao, whose HTTP APIs are compatible. |
|
providers
Package providers assembles the built-in value providers.
|
Package providers assembles the built-in value providers. |
|
resolve
Package resolve turns parsed config components into concrete values by fetching every reference from its provider and applying pipes.
|
Package resolve turns parsed config components into concrete values by fetching every reference from its provider and applying pipes. |
|
template
Package template parses envhaul value templates.
|
Package template parses envhaul value templates. |
|
version
Package version reports build information.
|
Package version reports build information. |
Click to show internal directories.
Click to hide internal directories.