Module org.elasticsearch.security
Package org.elasticsearch.xpack.security
Class InitialNodeSecurityAutoConfiguration
java.lang.Object
org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidmaybeGenerateEnrollmentTokensAndElasticCredentialsOnNodeStartup(NativeUsersStore nativeUsersStore, SecurityIndexManager securityIndexManager, SSLService sslService, Client client, Environment environment, org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration.OnNodeStartedListener onNodeStartedListener, 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.
-
Method Details
-
maybeGenerateEnrollmentTokensAndElasticCredentialsOnNodeStartup
public static void maybeGenerateEnrollmentTokensAndElasticCredentialsOnNodeStartup(NativeUsersStore nativeUsersStore, SecurityIndexManager securityIndexManager, SSLService sslService, Client client, Environment environment, org.elasticsearch.xpack.security.InitialNodeSecurityAutoConfiguration.OnNodeStartedListener onNodeStartedListener, 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.
-