aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-05-02 02:07:47 +0500
committerKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2022-05-02 02:07:47 +0500
commit50c4f62ed4c6b4cd92893a4d23e960370975691a (patch)
tree3aad20a5b635177264fc9be334bbf2d98a6154f8 /weed/command/scaffold
parent21033ff4c3fcf1516cab32a0b955a40f3e9119d9 (diff)
downloadseaweedfs-50c4f62ed4c6b4cd92893a4d23e960370975691a.tar.xz
seaweedfs-50c4f62ed4c6b4cd92893a4d23e960370975691a.zip
ydb-go-sdk move to v3
Diffstat (limited to 'weed/command/scaffold')
-rw-r--r--weed/command/scaffold/filer.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/weed/command/scaffold/filer.toml b/weed/command/scaffold/filer.toml
index 0a505bbdc..3a920d80b 100644
--- a/weed/command/scaffold/filer.toml
+++ b/weed/command/scaffold/filer.toml
@@ -295,6 +295,17 @@ password=""
# skip tls cert validation
insecure_skip_verify = true
+[ydb]
+enabled = false
+useBucketPrefix=true
+dsn="grpc://localhost:2136?database=/local"
+prefix="en"
+poolSizeLimit=50
+# Authenticate produced with one of next environment variables:
+# YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS=<path/to/sa_key_file> — used service account key file by path
+# YDB_ANONYMOUS_CREDENTIALS="1" — used for authenticate with anonymous access. Anonymous access needs for connect to testing YDB installation
+# YDB_METADATA_CREDENTIALS="1" — used metadata service for authenticate to YDB from yandex cloud virtual machine or from yandex function
+# YDB_ACCESS_TOKEN_CREDENTIALS=<access_token> — used for authenticate to YDB with short-life access token. For example, access token may be IAM token
##########################
##########################