tencentcloud-cli icon indicating copy to clipboard operation
tencentcloud-cli copied to clipboard

SecretId不存在,请输入正确的密钥

Open Weidows opened this issue 7 months ago • 0 comments

https://cloud.tencent.com/document/product/440/34012

按文档试了tccli configure 和环境变量设置, 以及下面的直传参数,

都会出现这个报错 (正常设置了下面这三个值, apikey也存在能使用)

> tccli cdn PurgeUrlsCache --secretId "xxx" --secretKey "xxx" --region "na-siliconvalley" --Urls '["xxx"]'
usage: tccli [options] <command> <subcommand> [<subcommand> ...] [parameters]
To tccli help text, you can run:

  tccli help
  tccli configure help
  tccli service[cvm] help
  tccli service[cvm] action[RunInstances] help

[TencentCloudSDKException] code:AuthFailure.SecretIdNotFound message:SecretId不存在,请输入正确的密钥。 requestId:31b8f548-d924-4e13-bbcc-2222238a9f23

环境: windows / pipx install tccli

Weidows avatar Jul 11 '24 18:07 Weidows