You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/connecting.asciidoc
+20-4
Original file line number
Diff line number
Diff line change
@@ -23,10 +23,11 @@ providers.
23
23
[[auth-ec]]
24
24
==== Elastic Cloud
25
25
26
-
If you are using https://www.elastic.co/cloud[Elastic Cloud], the client offers
27
-
an easy way to connect to it. You must pass the Cloud ID that you can find in
28
-
the cloud console, then your username and password.
26
+
If you are using https://www.elastic.co/cloud[Elastic Cloud], the client offers an easy way to connect to it. You need the Cloud ID that you can find in the cloud console, then your username and password.
29
27
28
+
image::docs/images/cloud_id.png["Cloud ID"]
29
+
30
+
Once you have collected the Cloud ID you can use the client to connect to your Elastic Cloud instance, as follows:
You can also connect to the Cloud by using API Key authentication:
43
+
You can also connect to the Cloud by using API Key authentication. You can generate an `API key` in the `Management` page under the section `Security`.
44
+
45
+
image::docs/images/cloud_api_key.png["API key"]
46
+
47
+
When you click on `Create API key` you can choose a name and set the other options (eg. restrict privileges, expire after time, etc).
48
+
49
+
image::docs/images/api_key_name.png["Choose an API name"]
50
+
51
+
After this step you will get the `API key` in the API keys page.
52
+
53
+
image::docs/images/cloud_api_key.png["API key"]
54
+
55
+
**IMPORTANT**: you need to copy and store the `API key`in a secure place, since you will not be able to view it again in Elastic Cloud.
56
+
57
+
Once you have collected the `Cloud ID` and the `API key` you can use the client
58
+
to connect to your Elastic Cloud instance, as follows:
0 commit comments