TencentCloud / TencentCloud/tencentcloud-cli

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

Open
#84 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
135
Forks
33
Avg merge
8d 8h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported Windows installation with pipx and the tccli configure, environment-variable, and direct-parameter approaches shown in the issue. Start with the linked Tencent Cloud documentation and the tccli cdn PurgeUrlsCache entry point, then determine whether the rejection is caused by credential loading or command usage. Done means the cause is documented or the CLI behavior is corrected and verified with the same command.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.