From 158ea917e27e59daaaace35b0fa9587df1407334 Mon Sep 17 00:00:00 2001 From: debadair Date: Wed, 20 Oct 2021 15:14:22 -0700 Subject: [PATCH] [DOCS] Hardcode fix for broken link to unblock doc build (#1575) --- docs/connecting.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/connecting.asciidoc b/docs/connecting.asciidoc index f7b18c610..bfa71e806 100644 --- a/docs/connecting.asciidoc +++ b/docs/connecting.asciidoc @@ -61,11 +61,11 @@ const client = new Client({ ==== ApiKey authentication You can use the -https://www.elastic.co/guide/en/elasticsearch/reference/7.x/security-api-create-api-key.html[ApiKey] +https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-api-create-api-key.html[ApiKey] authentication by passing the `apiKey` parameter via the `auth` option. The `apiKey` parameter can be either a base64 encoded string or an object with the values that you can obtain from the -https://www.elastic.co/guide/en/elasticsearch/reference/7.x/security-api-create-api-key.html[create api key endpoint]. +https://www.elastic.co/guide/en/elasticsearch/reference/7.16/security-api-create-api-key.html[create api key endpoint]. NOTE: If you provide both basic authentication credentials and the ApiKey configuration, the ApiKey takes precedence.