Enahance the copy as curl capability in 8.0 #2256
Labels
docs
DO NOT USE for *contents* of our docs. Only use for documentation *about* this repo.
enhancement
Something we'd like to improve
Summary
In 8.0, security is enabled by default. We should enhance our "copy as curl" capability in code snippets to automatically include an environment variable for the auto-generated node security certificate.
Changes
In the current security documentation for 8.0, we include the following snippet so that users can test the connection to their cluster:
We could instead replace the location of the security in the certificate in the Elasticsearch configuration directory with an environment variable, such as
$ES_CA_CERT_LOCATION
, which we would instruct users to set. We also need to sethttps
as the default connection:To enact this change, we would need to enhance the console widget code.
The text was updated successfully, but these errors were encountered: