Best way of storing secrets in Karavan dev env #1553
Ask a questionI currently struggle on how to handle secrets in my development environment. The 2 most usual ways of handling secrets I found is via env variables (in projects docker-compose) or the application properties. However both files are synced to git. What is a convenient way of handling my secrets then? VariantWeb Application Container Management (if applicable)Docker Operating System (if applicable)MacOS Version4.10.2 |
Answered by
mgubaidullin
Sep 16, 2025
Replies: 2 comments 1 reply
|
You could use .env file on the host and https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/#use-the-env_file-attribute |
1 reply
Answer selected by
Luc1412
|
Or you could use HashiVault |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could use .env file on the host and https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/#use-the-env_file-attribute