Skip to content

zarnovican/secret2value

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

secret2value

Update enviroment variable to expand symbolic referrence to Docker Swarm secret with the actual value. By convention, enviroment values with value "secret:<name>" will have their value replaced by the content of file /run/secrets/<name>. The path to secrets may be overriden by setting $SECRETS_PATH

The intention is to run this as a wrapper for another command which already expects the values to be present in enviroment variable. For example:

secret2value confd -onetime -backend env

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages