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

let router bootstrapper get token from a path #2045

Open
qrkourier opened this issue May 15, 2024 · 0 comments
Open

let router bootstrapper get token from a path #2045

qrkourier opened this issue May 15, 2024 · 0 comments

Comments

@qrkourier
Copy link
Member

The Linux and Docker router deployments employ an environment variable ZITI_ENROLL_TOKEN that must be the erott.

Some users have tried to provide the token by defining this variable with the filesystem path to the token instead of the token string itself.

Let the router's bootstrap.bash handle this scenario gracefully by checking if the value is a non-empty file. If so, slurp the file. If not, assume it is the erott as a string.

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

No branches or pull requests

1 participant