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: password can contain :
@
|
#297
Conversation
also solved #236 |
:
@
|
:
@
|
@sigoden But now it is not possible to provide multiple users by environment variable. I deploy dufs in container and uses config file. I cannot hold passwords in this configuration file located in image (and accessible by anyone how have access to registry), I would like to provide passwords from secret management. Actually separate file for auth, would be sufficient to solve the problem, because such file could be provided by podman/docker secret or hashicorp vault as a file. Probably new issue should be created, but maybe already exists (later I will check that). |
Have you really tried it? The DUFS_AUTH environment variable supports multiple users which seperated by |
Of course, I do :) no problem to reproduce ... wait... ...and I found that I blamed wrong character. Problem was with
When done properly it of course works:
So, my mistake (but when I found |
you can put config.yaml into secret if necessary. It’s unnecessary to seperate secret part of configuration. |
I can't, but not because dufs do not allows it. I wont to be able to put this I have such container file:
and a config file:
So, config files will be available to read by anybody with read access to the container. I want to add credentials with a secret (e.g. with Hashicorp Vault or podman/docker/k8s secrets). To achieve that I would need merge it to the |
I had asked about something which described in README, so I've removed it |
Passwords can use any characters, the only restriction is that the '@/' string cannot appear.
For example
user:p|a:s@s@/:rw
is valid rule, dufs known the pass isp|a:s@s
.