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 add command get JWT from a file like the enroll command #758

Open
qrkourier opened this issue Nov 21, 2023 · 1 comment
Open

let add command get JWT from a file like the enroll command #758

qrkourier opened this issue Nov 21, 2023 · 1 comment

Comments

@qrkourier
Copy link
Member

This is awkward to document and to use.

sudo ziti-edge-tunnel add --jwt "$(< ./in-file.jwt)" --identity myIdentityName

This would be nicer.

sudo ziti-edge-tunnel add --jwt ./in-file.jwt --identity myIdentityName

If stdin too were available then the add command would behave like the enroll command's --jwt option.

sudo ziti-edge-tunnel add --jwt - --identity myIdentityName < ./in-file.jwt
@qrkourier
Copy link
Member Author

This will improve the user experience and simplify this doc: https://openziti.io/docs/reference/tunnelers/linux/#add-a-single-identity

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