Closed pierreprinetti closed 2 years ago
Sorry, no. I'm strongly against exposing passwords via cli arguments
I am not interested in the cli argument actually; what I want is setting it via environment variable. Would that be OK for you?
I think auth-file is sufficient enough.
I think auth-file is sufficient enough.
Not for my use-case. I use fly.io and deploying a secret as a file forces me to expose it to Github (or put the secret in a volume), which is not optimal. Many infras assume that you pass secrets (and config) as env vars these days.
well, that sounds reasonable. ok, accepted. thanks!
Thanks for this, I'm also using fly.io to run Yarr and I had similar changes in a private fork.
With this patch, it is possible to pass username and password directly on the command line with:
The corresponding environment variable comes handy with containers: