alibabacloud-kms-secret-manage — Claude Code skill: setup and features
alibabacloud-kms-secret-manage guides AI assistants through managing Alibaba Cloud KMS secrets, handling secret lifecycles and rotation workflows via Aliyun CLI.
no license 225 installs ★ 300 updated 2026-10-23
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a claude-codeWhat alibabacloud-kms-secret-manage does
This skill equips coding assistants with procedures to handle sensitive credentials inside Alibaba Cloud Key Management Service. Rather than executing blind API calls, it follows a structured pipeline: locating the KMS instance ID, finding the matching AES-256 key, and creating or updating the payload. Supported assets cover generic keys, database credentials, and RAM managed secrets.
Strict guardrails govern credential exposure. Secret payloads returned by GetSecretValue stay masked by default unless you explicitly demand cleartext output. Displaying raw AccessKey or SecretKey pairs in conversation is barred outright. Without the Aliyun CLI installed locally, every operation will fail immediately.
Timeout configuration matters: setting ALIBABA_CLOUD_CONNECT_TIMEOUT and ALIBABA_CLOUD_READ_TIMEOUT to 30 seconds prevents the CLI process from blocking your chat session.
What it helps with
- provision encrypted secrets tied to specific KMS instances
- retrieve masked secret values through Aliyun CLI or Python SDK
- inspect metadata before running force deletion on obsolete credentials
- configure network timeouts to keep CLI commands responsive
Example prompts for the agent
- Create a new generic secret named db-access in KMS
- List all secrets stored in region cn-shanghai
- Fetch the value of prod-jwt-secret with explicit confirmation
How to install alibabacloud-kms-secret-manage
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a claude-code2Manually: put the files in place
~/.claude/skills/alibabacloud-kms-secret-manage/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/alibabacloud-kms-secret-manage/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a codex2Manually: put the files in place
.agents/skills/alibabacloud-kms-secret-manage/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a cursor2Manually: put the files in place
.cursor/skills/alibabacloud-kms-secret-manage/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aliyun/alibabacloud-aiops-skills skills/security/kms/alibabacloud-kms-secret-manage2Manually: put the files in place
.github/skills/alibabacloud-kms-secret-manage/SKILL.md1Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a gemini-cli2Platform CLI
gemini skills install https://github.com/aliyun/alibabacloud-aiops-skills --path skills/security/kms/alibabacloud-kms-secret-manageManually: put the files in place
.devin/skills/alibabacloud-kms-secret-manage/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about alibabacloud-kms-secret-manage
How to install alibabacloud-kms-secret-manage in Claude Code?
Run npx skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-kms-secret-manage -a claude-code in your terminal. This saves the rule to ~/.claude/skills/alibabacloud-kms-secret-manage/SKILL.md.
What permissions does this skill require?
Your active RAM identity needs at least read-level KMS permissions like kms:DescribeSecret and kms:GetSecretValue, or full read-write grants for creating and modifying keys.
Does the skill expose secrets in plain text?
No, responses mask retrieved secret bodies automatically. You must confirm an explicit retrieval request before the skill prints sensitive information.