Closed
Description
Describe the feature you'd like
I currently use named tunnels and run in docker containers. I would like to be able to use docker secrets with the containers. This is currently not possible because docker secrets are passed as a file and there is no way to read the file. It would be nice to be able to have --secret-file
option, i.e. cloudflared tunnel run --token --secret-file
or cloudflared tunnel run --token </path/to/token/file>
.
Describe alternatives you've considered
Typically, you use cat
in containers to read the files, but the rootless container does not have the cat executable so unable to use secrets that way
Additional context
Similar to #232.
I would be happy to work on this if it is something that is worth implementing.
Metadata
Metadata
Assignees
Labels
No labels