Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add password_file option #83

Merged
merged 1 commit into from
Nov 5, 2022
Merged

Conversation

sweenu
Copy link
Contributor

@sweenu sweenu commented Nov 4, 2022

It's becoming pretty standard to be able to set secrets with an environment variable finishing with _FILE. Unfortunately, viper does not do it by default: spf13/viper#1022.

The viper.SetEnvKeyReplacer(replacer) line is taken from spf13/viper#239 (comment).

I'm currently in the process of packaging goeland for NixOS, this will make things simpler and more secure.

cmd/run.go Show resolved Hide resolved
config/config.go Show resolved Hide resolved
@slurdge slurdge merged commit afefa63 into slurdge:master Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants