Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Security ON by default beta updates #79641

Merged
22 changes: 13 additions & 9 deletions x-pack/docs/en/security/configuring-stack-security.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,28 +85,32 @@ when you started {es}.
[[stack-enroll-nodes]]
=== Enroll additional nodes in your cluster

. From the installation directory of your other node, start {es} and pass the
enrollment token with the `--enrollment token` parameter. This is the enrollment
token that was generated when you started your first {es} node.
. In a separate terminal from where {es} is running, navigate to the directory
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

where you installed {es} and run the
<<create-enrollment-token,`elasticsearch-create-enrollment-token`>> tool
to generate an enrollment token for your additional nodes.
+
[source,shell]
----
bin/elasticsearch --enrollment token <enrollment-token>
bin/elasticsearch-create-enrollment-token -s node
----
+
Copy the enrollment token, which you'll use to enroll additional nodes with
your {es} cluster.

. Repeat the previous step for any additional nodes that you want to enroll.

. Start your new nodes, which {es} automatically enrolls into the existing
cluster.
. From the installation directory of your other node, start {es} and pass the
enrollment token with the `--enrollment-token` parameter.
+
[source,shell]
----
bin/elasticsearch
bin/elasticsearch --enrollment-token <enrollment-token>
----
+
{es} automatically generates certificates and keys in the
`config/tls_auto_config_node_<timestamp>` directory.

. Repeat the previous step for any additional nodes that you want to enroll.

[discrete]
=== What's next?
Congratulations! You've successfully started the {stack} with security enabled.
Expand Down