Skip to content

Commit 6c1986b

Browse files
author
Adam Locke
authored
[DOCS] Add detached mode for enrolling Kibana (#85933) (#85938)
* [DOCS] Add detached mode for enrolling Kibana * Clarify commands for starting and enrolling Kibana
1 parent be4379d commit 6c1986b

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

x-pack/docs/en/security/configuring-stack-security.asciidoc

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,24 @@ curl --cacert config/certs/http_ca.crt -u elastic https://localhost:9200
6868
----
6969
bin/kibana
7070
----
71-
+
72-
This command generates a unique link to enroll your {kib} instance with {es}.
7371

74-
.. In your terminal, click the generated link to open {kib} in your browser.
72+
. Enroll {kib} using either interactive or detached mode.
7573

74+
* *Interactive mode* (browser)
75+
76+
.. In your terminal, click the generated link to open {kib} in your browser.
7677
.. In your browser, paste the enrollment token that you copied and click the
77-
button to connect your {kib} instance with {es}.
78+
button to connect your {kib} instance with {es}.
7879

79-
.. Log in to {kib} as the `elastic` user with the password that was generated
80-
when you started {es}.
80+
* *Detached mode* (non-browser)
81+
+
82+
Run the `kibana-setup` tool and pass the generated enrollment token with the
83+
`--enrollment-token` parameter.
84+
+
85+
["source","sh",subs="attributes"]
86+
----
87+
bin/kibana-setup --enrollment-token <enrollment-token>
88+
----
8189

8290
[discrete]
8391
[[stack-enroll-nodes]]

0 commit comments

Comments
 (0)