-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
50 lines (50 loc) · 1.68 KB
/
config.example.json
File metadata and controls
50 lines (50 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"_howto": "1. 选 platform; 2. 选 auth 方式; 3. 填对应平台段的字段",
"platform": "aliyun",
"auth": "ak",
"schema": "cz-cli sql \"SELECT current_schema()\" 获取",
"aliyun": {
"_说明": "阿里云 — SETUP.md 第 1 节",
"oss": {
"bucket": "你的-oss-bucket-名",
"endpoint": "oss-cn-shanghai.aliyuncs.com",
"access_id": "你的-AccessKey-ID",
"access_key": "你的-AccessKey-Secret",
"region": "cn-shanghai"
},
"fc": {
"region": "cn-shanghai",
"role_arn": "acs:ram::你的账号ID:role/CzUDFRole"
}
},
"tencent": {
"_说明": "腾讯云 — SETUP.md 第 2 节",
"cos": {
"bucket": "你的-cos-bucket-名",
"region": "ap-shanghai",
"app_id": "你的-APP-ID(必须)",
"access_key": "你的-SecretId(ak 模式)",
"secret_key": "你的-SecretKey(ak 模式)",
"role_arn": "qcs::cam::uin/你的账号ID:roleName/LakehouseRole(role_arn 模式)"
},
"scf": {
"region": "ap-shanghai",
"namespace": "default(必须)",
"role_arn": "qcs::cam::uin/你的账号ID:roleName/LakehouseRole"
}
},
"aws": {
"_说明": "AWS — SETUP.md 第 3 节",
"s3": {
"bucket": "你的-s3-bucket-名",
"region": "ap-southeast-1(国际)或 cn-north-1(中国)",
"endpoint": "s3.<region>.amazonaws.com(国际)或 s3.<region>.amazonaws.com.cn(中国)",
"access_key_id": "你的-AccessKey-ID(ak 模式)",
"secret_access_key": "你的-SecretAccessKey(ak 模式)"
},
"lambda": {
"region": "ap-southeast-1",
"role_arn": "arn:aws:iam::你的账号ID:role/Lambda-S3-Role"
}
}
}