DDEV Varlock v0.1.0
Initial release. Installs the Varlock CLI into the DDEV web container and wires it up so resolved secrets are actually available to your app — not just to ddev varlock commands.
Features
ddev varlock [command]— run any Varlock CLI command inside the web container (e.g.ddev varlock load,ddev varlock run -- <command>).- Secrets reach your running app automatically. A
.ddev/web-entrypoint.d/varlock.shscript is sourced by DDEV right before nginx/php-fpm start, so resolved values are injected straight into the environment every request sees viagetenv()/$_ENV— no need to wrap your app's own start command. - Fast local validation. A
pre-starthook runsvarlock loadon the host for a readable summary before containers even come up. Optional: if Varlock isn't installed on your host, you get a notice instead of a failure, andddev startcontinues normally. - Built-in provider passthrough for 1Password, Infisical (Universal Auth), Doppler, AWS Secrets Manager, and HashiCorp Vault — their host-exported tokens are forwarded into the web container automatically. Other providers (Azure Key Vault, Google Secret Manager, etc.) can be added per-project via
ddev config --web-environment-add. - Configurable Varlock version. Pin a specific release with
ddev dotenv set .ddev/.env.varlock --varlock-version=<version>; leave it unset to always install latest.
Installation
ddev add-on get MetaSyntactical/ddev-varlock
ddev restartSee the README for prerequisites, obtaining provider credentials, and configuration details.