tencentcloud-cli
tencentcloud-cli copied to clipboard
Tencent Cloud API 3.0 Command Line Interface
使用tccli连接私有云,tccli默认使用HTTPS模式,并开启了SSL证书验证,导致请求出现SsLEror(SSLError(1, '[SSL: CERTIFICATE_VERIFY_ERROR,又什么方法可以改用HTTP模式发起请求或者关闭HTTPS的证书校验?
当我使用 `tccli scf UpdateFunctionCode` 命令对云函数代码进行更新时,cli会抛出异常,完整命令参数如下: ```bash tccli scf UpdateFunctionCode --cli-unfold-argument \ --FunctionName banana-api-production \ --Namespace banana \ --ZipFile $(base64 api-production.zip -w 0) ```
可以参考 aws 和 aliyun的功能 aliyun RamRoleArn | Use the AssumeRole to access Alibaba Cloud services aws https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-role.html
> https://cloud.tencent.com/document/product/440/34012 按文档试了tccli configure 和环境变量设置, 以及下面的直传参数, 都会出现这个报错 (正常设置了下面这三个值, apikey也存在能使用) ```console > tccli cdn PurgeUrlsCache --secretId "xxx" --secretKey "xxx" --region "na-siliconvalley" --Urls '["xxx"]' usage: tccli [options] [ ...] [parameters] To tccli...
When executing operations in the command line, can 2FA (Two-Factor Authentication) be triggered? For example, if MFA is enabled in the Tencent Cloud console.