File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/alibabacloud_rds_openapi_mcp_server Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ def get_rds_client(region_id: str):
79
79
config = Config (
80
80
access_key_id = os .getenv ('ALIBABA_CLOUD_ACCESS_KEY_ID' ),
81
81
access_key_secret = os .getenv ('ALIBABA_CLOUD_ACCESS_KEY_SECRET' ),
82
+ security_token = os .getenv ('ALIBABA_CLOUD_SECURITY_TOKEN' ),
82
83
region_id = region_id ,
83
84
protocol = "https" ,
84
85
connect_timeout = 10 * 1000 ,
@@ -100,6 +101,7 @@ def get_vpc_client(region_id: str) -> VpcClient:
100
101
config = Config (
101
102
access_key_id = os .getenv ('ALIBABA_CLOUD_ACCESS_KEY_ID' ),
102
103
access_key_secret = os .getenv ('ALIBABA_CLOUD_ACCESS_KEY_SECRET' ),
104
+ security_token = os .getenv ('ALIBABA_CLOUD_SECURITY_TOKEN' ),
103
105
region_id = region_id ,
104
106
protocol = "https" ,
105
107
connect_timeout = 10 * 1000 ,
@@ -112,6 +114,7 @@ def get_bill_client(region_id: str):
112
114
config = Config (
113
115
access_key_id = os .getenv ('ALIBABA_CLOUD_ACCESS_KEY_ID' ),
114
116
access_key_secret = os .getenv ('ALIBABA_CLOUD_ACCESS_KEY_SECRET' ),
117
+ security_token = os .getenv ('ALIBABA_CLOUD_SECURITY_TOKEN' ),
115
118
region_id = region_id ,
116
119
protocol = "https" ,
117
120
connect_timeout = 10 * 1000 ,
You can’t perform that action at this time.
0 commit comments