-
Notifications
You must be signed in to change notification settings - Fork 863
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
Adds a new command line for tunnel run for token file #1316
base: master
Are you sure you want to change the base?
Conversation
@Cyb3r-Jak3 Can you please elaborate on your need to store the tunnel token in a local file? Any details of your workflow would be helpful. |
@janani-cr The goal would be to use docker secrets to pass the token to cloudflared. Docker secrets are passed as a file to the container. Standard practice for other images to have |
This feature is also desired for running cloudflared on Guix System or NixOS, since service definitions are done at build time and written to the store which is world-readable. Only specifying path to a keyfile outside the store can avoid the token being included in it. |
This would be great to get merged. I've been looking for a more user-friendly (see: not a workaround) way to provide the tunnel token as a Docker secret. |
Would love to see this released soon. All of my other services are able to use the |
Yes please! |
@Cyb3r-Jak3 I have another concern about this. Not sure if this is needed or not. |
I thought about this, but the config isn't checked for size, I didn't add it here. |
ea8a4ca
to
535fe9e
Compare
Adds a new command line flag for
tunnel run
which allows a file to be read for the token. I've left the token command line argument with priority.Would resolve #645