Class InitialNodeSecurityAutoConfiguration

java.lang.Object
org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration

public class InitialNodeSecurityAutoConfiguration extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    maybeGenerateEnrollmentTokensAndElasticCredentialsOnNodeStartup(NativeUsersStore nativeUsersStore, SecurityIndexManager securityIndexManager, org.elasticsearch.xpack.core.ssl.SSLService sslService, org.elasticsearch.client.internal.Client client, org.elasticsearch.env.Environment environment, org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration.OnNodeStartedListener onNodeStartedListener, org.elasticsearch.threadpool.ThreadPool threadPool)
    Generates and displays a password for the elastic superuser, an enrollment token for kibana and an enrollment token for es nodes, the first time a node starts as the first node in a cluster, when a terminal is attached.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • maybeGenerateEnrollmentTokensAndElasticCredentialsOnNodeStartup

      public static void maybeGenerateEnrollmentTokensAndElasticCredentialsOnNodeStartup(NativeUsersStore nativeUsersStore, SecurityIndexManager securityIndexManager, org.elasticsearch.xpack.core.ssl.SSLService sslService, org.elasticsearch.client.internal.Client client, org.elasticsearch.env.Environment environment, org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration.OnNodeStartedListener onNodeStartedListener, org.elasticsearch.threadpool.ThreadPool threadPool)
      Generates and displays a password for the elastic superuser, an enrollment token for kibana and an enrollment token for es nodes, the first time a node starts as the first node in a cluster, when a terminal is attached.