File tree 2 files changed +8
-9
lines changed
2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -26,22 +26,21 @@ Refer to the <<installation>> page to learn more.
26
26
[discrete]
27
27
=== Connecting
28
28
29
- You can connect to the Elastic Cloud using an API key and the Elasticsearch
30
- endpoint .
29
+ You can connect to the Elastic Cloud using an API key and your Elasticsearch
30
+ Cloud ID .
31
31
32
32
[source,net]
33
33
----
34
34
var client = new ElasticsearchClient("<CLOUD_ID>", new ApiKey("<API_KEY>"));
35
35
----
36
36
37
- Your Elasticsearch endpoint can be found on the **My deployment** page of your
38
- deployment:
37
+ You can find your Elasticsearch Cloud ID on the deployment page:
39
38
40
- image::images/es-endpoint .jpg[alt="Finding Elasticsearch endpoint ",align="center"]
39
+ image::images/es-cloudid .jpg[alt="Cloud ID on the deployment page ",align="center"]
41
40
42
- You can generate an API key on the **Management** page under Security.
43
-
44
- image::images/ create-api-key.png[alt="Create API key",align="center"]
41
+ To generate an API key, use the
42
+ https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html[Elasticsearch Create API key API]
43
+ or https://www.elastic.co/guide/en/kibana/current/api-keys.html# create-api-key[Kibana Stack Management].
45
44
46
45
For other connection options, refer to the <<connecting>> section.
47
46
@@ -158,4 +157,4 @@ var response = await client.Indices.DeleteAsync("my_index");
158
157
== Further reading
159
158
160
159
* Refer to the <<recommendations>> page to learn more about how to use the
161
- client the most efficiently.
160
+ client the most efficiently.
You can’t perform that action at this time.
0 commit comments