Last active
January 20, 2019 18:11
-
-
Save nenjotsu/0c681bc20e8105a37c7932f9a1753ab2 to your computer and use it in GitHub Desktop.
Create Elastic Superuser Account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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