Skip to content

Commit ac94c1d

Browse files
authored
Update env variables for ES authentication (#1356)
This is to bring the docs in line with the change in elastic/elastic-agent#5536.
1 parent 82d6349 commit ac94c1d

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

docs/en/ingest-management/elastic-agent/configuration/env/container-envs.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ include::shared-env.asciidoc[tag=elasticsearch-username]
3838

3939
include::shared-env.asciidoc[tag=elasticsearch-password]
4040

41+
include::shared-env.asciidoc[tag=elasticsearch-api-key]
42+
4143
include::shared-env.asciidoc[tag=elasticsearch-ca]
4244

4345
include::shared-env.asciidoc[tag=kibana-host]

docs/en/ingest-management/elastic-agent/configuration/env/shared-env.asciidoc

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ Setting this to `true` is not recommended.
421421

422422
// To do: link to required privileges
423423

424-
*Default:* `elastic`
424+
*Default:* none
425425

426426
// end::elasticsearch-username[]
427427

@@ -450,12 +450,25 @@ This user needs the privileges required to publish events to {es}.
450450

451451
| (string) The basic authentication password used to connect to {kib} and retrieve a `service_token` for {fleet}.
452452

453-
*Default:* `changeme`
453+
*Default:* none
454454

455455
// end::elasticsearch-password[]
456456

457457
// =============================================================================
458458

459+
// tag::elasticsearch-api-key[]
460+
|
461+
[id="env-{type}-elasticsearch-api-key"]
462+
`ELASTICSEARCH_API_KEY`
463+
464+
| (string) API key used for authenticating to Elasticsearch.
465+
466+
*Default:* none
467+
468+
// end::elasticsearch-api-key[]
469+
470+
// =============================================================================
471+
459472
// tag::es-password[]
460473
|
461474
[id="env-{type}-es-password"]

0 commit comments

Comments
 (0)