This functionality is in beta and is subject to change. The design and code are less mature than official GA features and are being provided as-is with no warranties.
Below is an example
YAML configuration file
$HOME/.ecctl/config.yaml that will effectively point and configure
the binary for Elastic Cloud:
host: https://api.elastic-cloud.com # URL of your Elasticsearch Service or Elastic Cloud Enterprise API endpoint # Credentials ## apikey is the preferred authentication mechanism. apikey: bWFyYzo4ZTJmNmZkNjY5ZmQ0MDBkOTQ3ZjI3MTg3ZWI5MWZhYjpOQktHY05jclE0cTBzcUlnTXg3QTd3 ## username and password can be used when no API key is available. user: username pass: password