Skip to content

Instantly share code, notes, and snippets.

@nenjotsu
Last active January 20, 2019 18:11
Show Gist options
  • Save nenjotsu/0c681bc20e8105a37c7932f9a1753ab2 to your computer and use it in GitHub Desktop.
Save nenjotsu/0c681bc20e8105a37c7932f9a1753ab2 to your computer and use it in GitHub Desktop.
Create Elastic Superuser Account
curl -H 'Content-Type: application/json' -XPOST -u elastic:<ELASTIC-PASSWORD> 'http://<YOUR-IP>:9200/_xpack/security/user/nenjotsu' -d'
{
"password": "password",
"roles": ["superuser"]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment