elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.06k stars 24.52k forks source link

API Key support on elasticsearch-sql-cli #106807

Open rogeriochaves opened 5 months ago

rogeriochaves commented 5 months ago

Description

Hello there, I'm trying to use ./bin/elasticsearch-sql-cli with my ElasticCloud installation, however there is no support for API Keys, how can I use it using elastic cloud?

Elasticsearch SQL CLI

Non-option arguments:
uri

Option                   Description
------                   -----------
-b, --binary <Boolean>   Disable binary communication. Enabled by default.
                           Accepts 'true' or 'false' values. (default: true)
-c, --check <Boolean>    Enable initial connection check on startup (default:
                           true)
-d, --debug              Enable debug logging
-h, --help               Show help
-k, --keystore_location  Location of a keystore to use when setting up SSL. If
                           specified then the CLI will prompt for a keystore
                           password. If specified when the uri isn't https then
                           an error is thrown.
-s, --silent             Show minimal output
-v, --verbose            Show verbose output
elasticsearchmachine commented 5 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)