kibana/docs/reference/commands/kibana-verification-code.md
Colleen McGinnis 1814c60017
[docs] Migrate docs from AsciiDoc to Markdown (#212558)
Migrate docs from AsciiDoc to Markdown. The preview can be built after
#212557 is merged.

@florent-leborgne please tag reviewers, add the appropriate label(s),
and take this out of draft when you're ready.

Note: More files are deleted than added here because the content from
some files was moved to
[elastic/docs-content](https://github.com/elastic/docs-content).

**What has moved to
[elastic/docs-content](https://github.com/elastic/docs-content)?**

Public-facing narrative and conceptual docs have moved. Most can now be
found under the following directories in the new docs:
- explore-analyze: Discover, Dashboards, Visualizations, Reporting,
Alerting, dev tools...
- deploy-manage: Stack management (Spaces, user management, remote
clusters...)
- troubleshooting: .... troubleshooting pages

**What is staying in the Kibana repo?**

- Reference content (= anything that is or could be auto-generated):
Settings, syntax references
- Release notes
- Developer guide

---------

Co-authored-by: Florent Le Borgne <florent.leborgne@elastic.co>
2025-03-04 14:56:07 +01:00

45 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
mapped_pages:
- https://www.elastic.co/guide/en/kibana/current/kibana-verification-code.html
---
# kibana-verification-code [kibana-verification-code]
The `kibana-verification-code` tool retrieves a verification code for enrolling a {{kib}} instance with a secured {{es}} cluster.
## Synopsis [_synopsis]
```shell
bin/kibana-verification-code
[-V, --version] [-h, --help]
```
## Description [_description]
Use this command to retrieve a verification code for {{kib}}. You enter this code in {{kib}} when manually configuring a secure connection with an {{es}} cluster. This tool is useful if you dont have access to the {{kib}} terminal output, such as on a hosted environment. You can connect to a machine where {{kib}} is running (such as using SSH) and retrieve a verification code that you enter in {{kib}}.
::::{important}
You must run this tool on the same machine where {{kib}} is running.
::::
## Parameters [kibana-verification-code-parameters]
`-h, --help`
: Returns all of the command parameters.
`-V, --version`
: Displays the {{kib}} version number.
## Examples [_examples_2]
The following command retrieves a verification code for {{kib}}.
```shell
bin/kibana-verification-code
```