File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -61,11 +61,12 @@ const client = new Client({
61
61
==== ApiKey authentication
62
62
63
63
You can use the
64
- https://www.elastic.co/guide/en/elasticsearch/reference/7.16 /security-api-create-api-key.html[ApiKey]
64
+ {ref-7x} /security-api-create-api-key.html[ApiKey]
65
65
authentication by passing the `apiKey` parameter via the `auth` option. The
66
66
`apiKey` parameter can be either a base64 encoded string or an object with the
67
67
values that you can obtain from the
68
- https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-api-create-api-key.html[create api key endpoint].
68
+ {ref-7x}/security-api-create-api-key.html[create api key endpoint].
69
+
69
70
70
71
NOTE: If you provide both basic authentication credentials and the ApiKey
71
72
configuration, the ApiKey takes precedence.
Original file line number Diff line number Diff line change 1
1
= Elasticsearch JavaScript Client
2
2
3
- :branch: 7.x
3
+ :branch: 7.16
4
4
include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
5
5
6
6
include::introduction.asciidoc[]
You can’t perform that action at this time.
0 commit comments