LinkAce icon indicating copy to clipboard operation
LinkAce copied to clipboard

Add support for password files

Open AlexGustafsson opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Specifying passwords in environment variables is not always the best available approach. Docker swarm, for example, has support for the concepts of secrets. These are in-memory files mounted in containers under /var/run. To support the use of these secrets, an app must support reading passwords from files.

Describe the solution you'd like Add support for DB_PASSWORD_FILE and DB_REDIS_PASSWORD_FILE environment variables that, if set, will read the passwords from the specified path instead of the regular environment variables.

Describe alternatives you've considered Using the .env file, but it doesn't solve the issue as Docker's secret management can't be used with it.

Additional context None.

AlexGustafsson avatar Dec 31 '20 14:12 AlexGustafsson

Hi, any further thoughts on adding support for file based secrets?

mmozzano avatar Mar 06 '22 15:03 mmozzano

This feature must be contributed by the community as I don't need file-based secrets/passwords.

Kovah avatar Mar 06 '22 16:03 Kovah