File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
presto-docs/src/main/sphinx/security Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -317,3 +317,37 @@ with the appropriate :abbr:`SAN (Subject Alternative Name)` added.
317317Adding a SAN to this certificate is required in cases where ``https:// `` uses IP address in the URL rather
318318than the domain contained in the coordinator's certificate, and the certificate does not contain the
319319:abbr: `SAN ( Subject Alternative Name ) ` parameter with the matching IP address as an alternative attribute.
320+
321+ No console from which to read password
322+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
323+
324+ If you use the command line options ``--user `` and ``--password `` along with
325+ supplying the query statements to execute using ``--file `` or ``--execute `` command line options as below -
326+
327+ .. code-block :: none
328+
329+ ./presto \
330+ --server https://presto-coordinator.example.com:8443 \
331+ --execute "select * from tpch.tiny.nation"
332+ --user <LDAP user> \
333+ --password
334+
335+ OR
336+
337+ ./presto \
338+ --server https://presto-coordinator.example.com:8443 \
339+ --file input_queries.txt
340+ --user <LDAP user> \
341+ --password > output.txt
342+
343+ The following error might be displayed:
344+
345+ .. code-block :: none
346+
347+ java.lang.RuntimeException: No console from which to read password
348+
349+ To avoid this error, export the password using the ``PRESTO_PASSWORD `` environment variable:
350+
351+ .. code-block :: none
352+
353+ export PRESTO_PASSWORD=<password>
You can’t perform that action at this time.
0 commit comments