config current-context set cli command
elastic config current-context set <name>
Change the current context
<name>stringrequired- context name
--config-filestring- path to the config file to edit (defaults to ~/.elasticrc.yml)
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON