Elastic Stack 6 Beta: Docker-Images + User/PW

(Alex) #1


according to the docu (1) there should be still the user elastic:changeme for the docker image.

Obviously, it isn't there any more:

[elasticsearch@3b31c58a02db ~]$ curl elastic:changeme@localhost:9200/_cluster/health?pretty
  "error" : {
    "root_cause" : [
        "type" : "security_exception",
        "reason" : "failed to authenticate user [elastic]",
        "header" : {
          "WWW-Authenticate" : "Basic realm=\"security\" charset=\"UTF-8\""

I've seen the XPack/User stuff. Anyhow, is there any method to automatically create a password during startup phase? it would be useful for demo environments based on docker(-compose) or further automation.

as i've understood with elastic stack 6 there will be the need for an elasticsearch "seed hosts" that is used to handle the initial password stuff. Or handle the user stuff via curl requests against the password api.



(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.