tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,64 +2,64 @@
|
|
2
2
|
"actions": {
|
3
3
|
"CreateProductSecret": [
|
4
4
|
{
|
5
|
-
"document": "",
|
6
|
-
"input": "
|
7
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
5
|
+
"document": "CreateProductSecret创建云产品凭据请求示例",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProductSecret\n<公共请求参数>\n\n{\n \"SecretName\": \"test3-db-secret\",\n \"UserNamePrefix\": \"lzctest\",\n \"ProductName\": \"Mysql\",\n \"InstanceID\": \"cdb-n4j3y33j\",\n \"Domains\": [\n \"%\"\n ],\n \"PrivilegesList\": [\n {\n \"PrivilegeName\": \"GlobalPrivileges\",\n \"Privileges\": [\n \"SELECT\"\n ]\n }\n ],\n \"Description\": \"测试数据库凭据创建\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"Tags\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": \"dev\"\n }\n ],\n \"RotationBeginTime\": \"2024-10-31 11:11:00\",\n \"EnableRotation\": true,\n \"RotationFrequency\": 30\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"FlowID\": 43415,\n \"RequestId\": \"0f5fa585-7671-4d4a-bc28-41910b772936\",\n \"SecretName\": \"test3-db-secret\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\"\n }\n}",
|
8
8
|
"title": "创建云产品凭据"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"CreateSSHKeyPairSecret": [
|
12
12
|
{
|
13
13
|
"document": "创建SSH密钥对凭据",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSSHKeyPairSecret\n<公共请求参数>\n\n{\n \"
|
15
|
-
"output": "{\n \"Response\": {\n \"
|
14
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSSHKeyPairSecret\n<公共请求参数>\n\n{\n \"SecretName\": \"test2-sshkey-secret\",\n \"ProjectId\": 0,\n \"Description\": \"描述信息\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"Tags\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": \"dev\"\n }\n ],\n \"SSHKeyName\": \"test2_key\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"591e2b21-20e9-4621-8e4a-2697b89e985a\",\n \"SSHKeyID\": \"skey-e0vbh2ts\",\n \"SSHKeyName\": \"test2_key\",\n \"SecretName\": \"test2-sshkey-secret\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\"\n }\n}",
|
16
16
|
"title": "创建SSH密钥对凭据"
|
17
17
|
}
|
18
18
|
],
|
19
19
|
"CreateSecret": [
|
20
20
|
{
|
21
21
|
"document": "创建自定义凭据。",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecret\n<公共请求参数>\n\n{\n \"
|
23
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSecret\n<公共请求参数>\n\n{\n \"SecretName\": \"test3_secret\",\n \"VersionId\": \"v2.0\",\n \"Description\": \"测试自定义凭据创建\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"SecretType\": 0,\n \"SecretString\": \"凭据value2\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"be7d863d-8d8d-4d28-97b7-3dad7236bb33\",\n \"SecretName\": \"test2_secret\",\n \"TagCode\": 0,\n \"TagMsg\": \"ok\",\n \"VersionId\": \"v2.0\"\n }\n}",
|
24
24
|
"title": "创建新的凭据信息"
|
25
25
|
}
|
26
26
|
],
|
27
27
|
"DeleteSecret": [
|
28
28
|
{
|
29
29
|
"document": "",
|
30
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecret\n&SecretName=
|
31
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"SecretName\": \"
|
30
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecret\n&SecretName=lzctest\n&RecoveryWindowInDays=1\n&<公共请求参数>",
|
31
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"SecretName\": \"lzctest\",\n \"DeleteTime\": 1574247268\n }\n}",
|
32
32
|
"title": "删除凭据信息"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"DeleteSecretVersion": [
|
36
36
|
{
|
37
37
|
"document": "",
|
38
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecretVersion\n&SecretName=
|
39
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"c701cf6d-4199-4822-8630-d48ee953f485\",\n \"SecretName\": \"
|
38
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DeleteSecretVersion\n&SecretName=lzctest\n&VersionId=v1.0\n&<公共请求参数>",
|
39
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c701cf6d-4199-4822-8630-d48ee953f485\",\n \"SecretName\": \"lzctest\",\n \"VersionId\": \"v1.0\"\n }\n}",
|
40
40
|
"title": "删除指定版本的凭据"
|
41
41
|
}
|
42
42
|
],
|
43
43
|
"DescribeAsyncRequestInfo": [
|
44
44
|
{
|
45
45
|
"document": "",
|
46
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeAsyncRequestInfo\n&FlowID=
|
47
|
-
"output": "{\n \"Response\": {\n \"Description\": \"
|
46
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeAsyncRequestInfo\n&FlowID=43414\n&<公共请求参数>",
|
47
|
+
"output": "{\n \"Response\": {\n \"Description\": \"success\",\n \"RequestId\": \"a624794f-4fd3-4e92-b00e-ee46eeb51a0c\",\n \"TaskStatus\": 1\n }\n}",
|
48
48
|
"title": "查询异步任务的执行结果"
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"DescribeRotationDetail": [
|
52
52
|
{
|
53
53
|
"document": "",
|
54
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationDetail\n&SecretName=
|
55
|
-
"output": "{\n \"Response\": {\n \"
|
54
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationDetail\n&SecretName=test3-db-secret\n&<公共请求参数>",
|
55
|
+
"output": "{\n \"Response\": {\n \"EnableRotation\": true,\n \"Frequency\": 30,\n \"LatestRotateTime\": \"2024-10-30 16:24:48\",\n \"NextRotateBeginTime\": \"2024-10-31 11:11:00\",\n \"RequestId\": \"d44e1c39-1e87-4ebe-ac8f-e06d0885971d\"\n }\n}",
|
56
56
|
"title": "查询凭据轮转详情"
|
57
57
|
}
|
58
58
|
],
|
59
59
|
"DescribeRotationHistory": [
|
60
60
|
{
|
61
61
|
"document": "",
|
62
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationHistory\n&SecretName=
|
62
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeRotationHistory\n&SecretName=testlzc\n&<公共请求参数>",
|
63
63
|
"output": "{\n \"Response\": {\n \"VersionIDs\": [\n \"testId\"\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\"\n }\n}",
|
64
64
|
"title": "查询凭据轮转历史版本"
|
65
65
|
}
|
@@ -67,8 +67,8 @@
|
|
67
67
|
"DescribeSecret": [
|
68
68
|
{
|
69
69
|
"document": "获取凭据详情信息",
|
70
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeSecret\n&SecretName=
|
71
|
-
"output": "{\n \"Response\": {\n \"
|
70
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DescribeSecret\n&SecretName=test3-db-secret\n&<公共请求参数>",
|
71
|
+
"output": "{\n \"Response\": {\n \"AdditionalConfig\": \"key1\",\n \"AssociatedInstanceIDs\": [\n \"cvm-test\"\n ],\n \"CreateTime\": 1730272571,\n \"CreateUin\": 700001224419,\n \"DeleteTime\": 0,\n \"Description\": \"测试数据库凭据创建\",\n \"KmsKeyId\": \"6abd1fdb-86d4-11ef-b72d-52540089bc41\",\n \"ProductName\": \"Mysql\",\n \"ProjectID\": 0,\n \"RequestId\": \"deb31013-2d0d-4b0c-a9dd-b62d8c3b2465\",\n \"ResourceID\": \"cdb-n4j3y33j\",\n \"ResourceName\": \"testresource\",\n \"RotationFrequency\": 30,\n \"RotationStatus\": true,\n \"SecretName\": \"test3-db-secret\",\n \"SecretType\": 1,\n \"Status\": \"Enabled\",\n \"TargetUin\": 0\n }\n}",
|
72
72
|
"title": "获取凭据详情信息"
|
73
73
|
}
|
74
74
|
],
|
@@ -83,16 +83,16 @@
|
|
83
83
|
"DisableSecret": [
|
84
84
|
{
|
85
85
|
"document": "",
|
86
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=DisableSecret\n&SecretName=
|
87
|
-
"output": "{\n \"Response\": {\n \"SecretName\": \"
|
86
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=DisableSecret\n&SecretName=lzctest\n&<公共请求参数>",
|
87
|
+
"output": "{\n \"Response\": {\n \"SecretName\": \"lzctest\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
|
88
88
|
"title": "停用指定凭据"
|
89
89
|
}
|
90
90
|
],
|
91
91
|
"EnableSecret": [
|
92
92
|
{
|
93
93
|
"document": "",
|
94
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=EnableSecret\n&SecretName=
|
95
|
-
"output": "{\n \"Response\": {\n \"SecretName\": \"
|
94
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=EnableSecret\n&SecretName=test3-secret\n&<公共请求参数>",
|
95
|
+
"output": "{\n \"Response\": {\n \"SecretName\": \"test3-secret\",\n \"RequestId\": \"1b580852-1e38-11e9-b129-5cb9019b4b00\"\n }\n}",
|
96
96
|
"title": "启用凭据"
|
97
97
|
}
|
98
98
|
],
|
@@ -107,16 +107,16 @@
|
|
107
107
|
"GetSSHKeyPairValue": [
|
108
108
|
{
|
109
109
|
"document": "获取SSH密钥对凭据明文",
|
110
|
-
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSSHKeyPairValue\n<公共请求参数>\n\n{\n \"SecretName\": \"
|
111
|
-
"output": "{\n \"Response\": {\n \"
|
110
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSSHKeyPairValue\n<公共请求参数>\n\n{\n \"SecretName\": \"test2-sshkey-secret\"\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"PrivateKey\": \"-----BEGIN RSA PRIVATE KEY-----\\nMIIEowIBAAKC***********NEuTGXFT8sLJ\\n-----END RSA PRIVATE KEY-----\",\n \"ProjectID\": 0,\n \"PublicKey\": \"ssh-rsa AAAA********H5TD4ab skey-e0vbh2ts\",\n \"RequestId\": \"9f436a38-ced1-45f0-9b51-946958b90244\",\n \"SSHKeyDescription\": \"created by ssm\",\n \"SSHKeyID\": \"skey-e0vbh2ts\",\n \"SSHKeyName\": \"test2_key\"\n }\n}",
|
112
112
|
"title": "获取SSH密钥对凭据明文"
|
113
113
|
}
|
114
114
|
],
|
115
115
|
"GetSecretValue": [
|
116
116
|
{
|
117
117
|
"document": "获取凭据明文信息",
|
118
|
-
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSecretValue\n<公共请求参数>\n\n{\n \"
|
119
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
118
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSecretValue\n<公共请求参数>\n\n{\n \"SecretName\": \"test3-secret\",\n \"VersionId\": \"v3\"\n}",
|
119
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"91cec765-5604-4287-89b1-634357cfcd29\",\n \"SecretBinary\": \"5Yet5o2udmFsdWUyCg==\",\n \"SecretName\": \"test3-secret\",\n \"SecretString\": \"凭据value3\",\n \"VersionId\": \"v3\"\n }\n}",
|
120
120
|
"title": "获取凭据明文信息"
|
121
121
|
}
|
122
122
|
],
|
@@ -124,62 +124,62 @@
|
|
124
124
|
{
|
125
125
|
"document": "",
|
126
126
|
"input": "https://ssm.tencentcloudapi.com/?Action=GetServiceStatus\n&<公共请求参数>",
|
127
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
127
|
+
"output": "{\n \"Response\": {\n \"AccessKeyEscrowEnabled\": true,\n \"ExpireTime\": \"2024-09-10 10:19:21\",\n \"InvalidType\": 1,\n \"PayModel\": \"Postpaid_SSM\",\n \"QPSLimit\": 0,\n \"RenewFlag\": 0,\n \"RequestId\": \"b370f1c4-3e1c-4922-8ab2-6f717240f6ad\",\n \"ResourceId\": \"test-rsid\",\n \"SecretLimit\": 0,\n \"ServiceEnabled\": true,\n \"TotalCount\": 0\n }\n}",
|
128
128
|
"title": "获取服务开启状态"
|
129
129
|
}
|
130
130
|
],
|
131
131
|
"ListSecretVersionIds": [
|
132
132
|
{
|
133
133
|
"document": "",
|
134
|
-
"input": "
|
135
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
134
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListSecretVersionIds\n<公共请求参数>\n\n{\n \"SecretName\": \"test3-secret\"\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"9877a5cc-208d-4ec0-b4bb-4e62990de2aa\",\n \"SecretName\": \"test3-secret\",\n \"Versions\": [\n {\n \"CreateTime\": 1730278717,\n \"VersionId\": \"v1\"\n },\n {\n \"CreateTime\": 1730278706,\n \"VersionId\": \"v2\"\n },\n {\n \"CreateTime\": 1730271414,\n \"VersionId\": \"v3\"\n }\n ]\n }\n}",
|
136
136
|
"title": "获取指定凭据下的版本列表信息"
|
137
137
|
}
|
138
138
|
],
|
139
139
|
"ListSecrets": [
|
140
140
|
{
|
141
141
|
"document": "",
|
142
|
-
"input": "
|
143
|
-
"output": "{\n \"Response\": {\n \"
|
142
|
+
"input": "POST / HTTP/1.1\nHost: ssm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListSecrets\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 2,\n \"OrderType\": 1,\n \"State\": 1,\n \"SearchSecretName\": \"weijiali\",\n \"TagFilters\": [\n {\n \"TagKey\": \"env\",\n \"TagValue\": [\n \"dev\"\n ]\n }\n ],\n \"SecretType\": 1,\n \"ProductName\": \"Mysql\"\n}",
|
143
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c5ff5231-33e1-44cb-9b77-4d8972bd28ac\",\n \"SecretMetadatas\": [\n {\n \"AssociatedInstanceIDs\": [\n \"ins-abfa\"\n ],\n \"CreateTime\": 1724816350,\n \"CreateUin\": 700001028674,\n \"DeleteTime\": 0,\n \"Description\": \"Weijiali_test_80008\",\n \"KmsKeyId\": \"9e46705b-8a1f-11ec-b941-5254008ad78d\",\n \"KmsKeyType\": \"DEFAULT\",\n \"NextRotationTime\": 1732796420,\n \"ProductName\": \"Mysql\",\n \"ProjectID\": 0,\n \"ResourceID\": \"cdb-mrhoqymb\",\n \"ResourceName\": \"testname\",\n \"RotationBeginTime\": \"2024-08-30 20:20:20\",\n \"RotationFrequency\": 30,\n \"RotationStatus\": 1,\n \"SecretName\": \"weijiali_test_00009\",\n \"SecretType\": 1,\n \"Status\": \"Enabled\",\n \"TargetUin\": 0\n },\n {\n \"AssociatedInstanceIDs\": [\n \"ins-affe\"\n ],\n \"CreateTime\": 1728713584,\n \"CreateUin\": 700001028674,\n \"DeleteTime\": 0,\n \"Description\": \"yajiada_test_01\",\n \"KmsKeyId\": \"9e46705b-8a1f-11ec-b941-5254008ad78d\",\n \"KmsKeyType\": \"DEFAULT\",\n \"NextRotationTime\": 1731305122,\n \"ProductName\": \"Mysql\",\n \"ProjectID\": 0,\n \"ResourceID\": \"cdb-j6amb083\",\n \"ResourceName\": \"testName2\",\n \"RotationBeginTime\": \"2024-10-12 14:05:22\",\n \"RotationFrequency\": 30,\n \"RotationStatus\": 1,\n \"SecretName\": \"yajiada_test_01\",\n \"SecretType\": 1,\n \"Status\": \"Enabled\",\n \"TargetUin\": 0\n }\n ],\n \"TotalCount\": 4\n }\n}",
|
144
144
|
"title": "获取凭据详细信息列表"
|
145
145
|
}
|
146
146
|
],
|
147
147
|
"PutSecretValue": [
|
148
148
|
{
|
149
149
|
"document": "",
|
150
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=PutSecretValue\n&SecretName=
|
151
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"6764f1f5-8229-4033-a831-46180aee30cf\",\n \"SecretName\": \"
|
150
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=PutSecretValue\n&SecretName=lzctest\n&VersionId=v2.0\n&SecretString=lzctestv2\n&<公共请求参数>",
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6764f1f5-8229-4033-a831-46180aee30cf\",\n \"SecretName\": \"lzctest\",\n \"VersionId\": \"v2.0\"\n }\n}",
|
152
152
|
"title": "增加新版本凭据"
|
153
153
|
}
|
154
154
|
],
|
155
155
|
"RestoreSecret": [
|
156
156
|
{
|
157
157
|
"document": "",
|
158
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=RestoreSecret\n&SecretName=
|
159
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"bf199317-0d31-4dba-a5e7-217dc37df2d4\",\n \"SecretName\": \"
|
158
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=RestoreSecret\n&SecretName=lzctestss\n&<公共请求参数>",
|
159
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"bf199317-0d31-4dba-a5e7-217dc37df2d4\",\n \"SecretName\": \"lzctestss\"\n }\n}",
|
160
160
|
"title": "恢复计划删除中的凭据"
|
161
161
|
}
|
162
162
|
],
|
163
163
|
"RotateProductSecret": [
|
164
164
|
{
|
165
165
|
"document": "",
|
166
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=RotateProductSecret\n&SecretName=
|
167
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"FlowID\":
|
166
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=RotateProductSecret\n&SecretName=test3-db-secret\n&<公共请求参数>",
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\",\n \"FlowID\": 43416\n }\n}",
|
168
168
|
"title": "轮转云产品凭据"
|
169
169
|
}
|
170
170
|
],
|
171
171
|
"UpdateDescription": [
|
172
172
|
{
|
173
173
|
"document": "",
|
174
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=UpdateDescription\n&SecretName=
|
175
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"dfa4908b-a586-4d44-8f76-3fad156c1be2\",\n \"SecretName\": \"
|
174
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=UpdateDescription\n&SecretName=lzctests\n&Description=new desc\n&<公共请求参数>",
|
175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dfa4908b-a586-4d44-8f76-3fad156c1be2\",\n \"SecretName\": \"lzctests\"\n }\n}",
|
176
176
|
"title": "更新凭据描述信息"
|
177
177
|
}
|
178
178
|
],
|
179
179
|
"UpdateRotationStatus": [
|
180
180
|
{
|
181
181
|
"document": "",
|
182
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=UpdateRotationStatus\n&SecretName=
|
182
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=UpdateRotationStatus\n&SecretName=lzctests\n&EnableRotation=true\n&Frequency=35\n&RotationBeginTime=2006-01-02 15:04:05\n&<公共请求参数>",
|
183
183
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2609a8fd-4584-4f89-98be-8c7ae1b81ef4\"\n }\n}",
|
184
184
|
"title": "设置云产品凭据轮转策略"
|
185
185
|
}
|
@@ -187,8 +187,8 @@
|
|
187
187
|
"UpdateSecret": [
|
188
188
|
{
|
189
189
|
"document": "",
|
190
|
-
"input": "https://ssm.tencentcloudapi.com/?Action=UpdateSecret\n&SecretName=
|
191
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"e6993612-6922-4f2d-bb36-37348f36eba5\",\n \"SecretName\": \"
|
190
|
+
"input": "https://ssm.tencentcloudapi.com/?Action=UpdateSecret\n&SecretName=lzctestss\n&VersionId=v1.0\n&SecretString=new value\n&<公共请求参数>",
|
191
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e6993612-6922-4f2d-bb36-37348f36eba5\",\n \"SecretName\": \"lzctestss\",\n \"VersionId\": \"v2.0\"\n }\n}",
|
192
192
|
"title": "更新凭据内容"
|
193
193
|
}
|
194
194
|
]
|