Skip to content

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

Description

@Weidows

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions