Install via Winget
winget install Docker.SecretsEngine
Open Windows Terminal or PowerShell and run the command above. Winget is built into Windows 10 (1809+) and Windows 11.
About Docker Secrets Engine
Docker Secrets Engine lets you reference secrets by name in your docker run and docker compose commands, with Docker resolving and injecting the actual secret values at container runtime. This eliminates the need to hard-code secrets in configuration files or pass them as plain-text environment variables. The engine integrates with your existing secrets management infrastructure and provides a clean separation between application configuration and sensitive credentials.