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

Fix --password option for CLI documentation #17402

Closed
hassanahmadkhani opened this issue May 9, 2023 · 4 comments
Closed

Fix --password option for CLI documentation #17402

hassanahmadkhani opened this issue May 9, 2023 · 4 comments
Assignees
Labels

Comments

@hassanahmadkhani
Copy link

hassanahmadkhani commented May 9, 2023

In https://trino.io/docs/current/client/cli.html#authentication
seems required to edit and change as below :

--password parameter also required in cli command after setting TRINO_PASSWORD environment variable.

export TRINO_PASSWORD='LongSecurePassword123!@#'

The password is automatically used in any following start of the CLI if we use --password in cli as below:

./trino --server https://trino.example.com --user=exampleusername --password

@hassanahmadkhani hassanahmadkhani changed the title Ddocumentation required to edit Documentation required to edit May 9, 2023
@ebyhr
Copy link
Member

ebyhr commented May 10, 2023

@hassanahmadkhani Do you want to send a PR?

@ebyhr ebyhr changed the title Documentation required to edit Fix --password option for CLI documentation May 10, 2023
@ebyhr ebyhr added the docs label May 10, 2023
@hassanahmadkhani
Copy link
Author

@hassanahmadkhani Do you want to send a PR?
No

@mosabua
Copy link
Member

mosabua commented May 11, 2023

Can you verify and send a PR @blvckcoffee

@mosabua
Copy link
Member

mosabua commented Jun 7, 2023

Fix will go live with the documentation for 420. Your testing was correct. Thank you so much for reporting @hassanahmadkhani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants