File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
examples/basic_example_v1 Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,11 @@ Running this sample with the managed YDB instance in Yandex Cloud
2
2
---
3
3
4
4
(0) Install the yc command line tool
5
+
5
6
https://cloud.yandex.ru/docs/cli/operations/install-cli
6
7
7
8
(1) Create the service account using the YC Web Console, and assign it the ydb.editor role.
9
+
8
10
Alternatively use the following shell snippet:
9
11
10
12
``` bash
@@ -20,6 +22,7 @@ yc resource-manager folder add-access-binding $YC_FOLDER --role ydb.editor --sub
20
22
```
21
23
22
24
(2) Generate the service account key to be used for authentication.
25
+
23
26
Note: unfortunately, right now YC Web Console does not offer a way to generate the SA key
24
27
with its Web interface.
25
28
@@ -28,6 +31,7 @@ yc iam key create --service-account-name $SA_NAME --output $HOME/key-ydb-sa-0.js
28
31
```
29
32
30
33
(3) Obtain the endpoint and database path from the Web Console.
34
+
31
35
Alternatively, use the following command to grab the required data in the shell:
32
36
33
37
``` bash
You can’t perform that action at this time.
0 commit comments