全部建议 > 建议详情
  • 预审中
  • 预审通过
  • 3 已采纳
  • 4 已实现

【功能建议】【huawei-cloud-codearts-code-gen】CodeArts CLI (codearts-cli)不支... 已采纳 编辑 删除

  • 华为云码道(CodeArts)代码智能体
  • 软件开发生产线 CodeArts

来源: GitCode Issue #171 by 曹晓乐 (https://gitcode.com/developer-skill/vod-skill/issues/171)

描述问题 (Description)

CodeArts CLI (codearts-cli)不支持临时AK/SK(带SecurityToken),仅支持永久AK/SK。使用临时凭证时CLI认证失败,迫使用户使用长期凭证,存在安全风险。

复现步骤 (To Reproduce)

  • 用户意图: 使用CodeArts CLI生成代码
  • Agent执行: Called huawei-cloud-codearts-code-gen skill to generate teacher roll call system code
  • 触发错误: authentication_error - CodeArts CLI (codearts-cli) requires permanent AK/SK and does not support temporary credentials with SecurityToken

预期行为 (Expected behavior)

CodeArts CLI应支持临时AK/SK+SecurityToken认证方式,与hcloud CLI保持一致

实际行为 (Actual behavior)

使用临时AK/SK+SecurityToken时CLI认证失败,必须使用永久AK/SK才能正常工作

错误堆栈 (Stack Trace)

``` CodeArts CLI authentication failed when using temporary AK/SK (with SecurityToken). Error: CLI returns authentication error when SecurityToken is provided. Only permanent AK/SK (without SecurityToken) works. This forces users to use long-term credentials instead of temporary ones, which is a security risk. ```

yd_242696932 yd_242696932 发布于 2026-07-04 10:35:00 2026-07-04

22 1

0%
0人赞同
0%
0人不赞同

全部评论(1

评论(1

  • 【云声小管家】 子规 2026-07-06 15:29:03

    非常感谢您的反馈,您的建议和诉求已经收到,并已提交至相关产品团队进行核查评估,评估完成后对于建议是否采纳会尽快给您答复,也请您持续关注云声平台,了解反馈建议处理进展,感谢您对华为云的支持!

登录后可评论,请 注册

0/1000

+ 插入图片0/4

仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB

评论
发表评论...
取消 发表

0/1000

评论成功

+ 插入图片0/4

仅支持JPG、JPEG、PNG、GIF,数量不超过4张且每张大小不超过2MB

删除建议

设置昵称

在此一键设置昵称,即可发表云声建议!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。