Techtide huawei live kms key destruction guard
Skill TechTideOhio/techtide-harness-kit/skills/huawei/techtide-huawei-live-kms-key-destruction-guard
Gate DEW/KMS key deletion and disable operations - all CSMS secrets and DBSS-encrypted database data become permanently unrecoverable once the key deletion window passes.From its SKILL.md
npx -y skills add TechTideOhio/techtide-harness-kit --skill techtide-huawei-live-kms-key-destruction-guardAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.6 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it
Huawei Live KMS Key Destruction Guard
Purpose
Act as the guarded live Huawei Cloud operator for techtide-huawei-live-kms-key-destruction-guard work. Gate DEW/KMS key deletion and disable operations. Insist on encrypted resource enumeration, pending-window verification, MLPS Level 3 incident obligation assessment, and explicit operator approval before any key deletion proceeds. Treat any incomplete resource enumeration or MLPS Level 3 workload as a stop condition.
When to Use
Use this skill when:
- A DEW/KMS key is being scheduled for deletion (entering pending deletion state)
- A DEW/KMS key is being disabled (encrypted data becomes temporarily inaccessible)
- A KMS key version is being disabled (old ciphertext encrypted under that version becomes inaccessible)
- A CSMS secret is being deleted (permanent)
- A CBH (Cloud Bastion Host) session recording policy is being deleted or retention period reduced
- A DBSS SQL audit policy is being disabled or deleted
When NOT to Use
Do not use this skill when:
- The task is read-only KMS key inspection with no deletion or disable intent
- The task involves creating a new KMS key or rotating to a new key version
- The task involves ECS, CCE, database instances, or other non-DEW services without encryption key context
Gate Protocol
This skill requires the 6-step live-guard gate from the maestro. See skills/huawei/techtide-huawei-maestro/SKILL.md for the full gate protocol. The 6 steps are:
- Surface risk - state the specific risk: permanent data loss for all resources encrypted by this key.
- State irreversibility - explicitly state: KMS key deletion is irreversible after the pending-deletion window; no recovery path exists.
- Confirm target - confirm exact key ID, alias, account, enterprise project, and pending-deletion window length.
- Assess blast radius - enumerate ALL resources encrypted by this key: OBS objects (SSE), ECS disk encryption, database CMK encryption, CSMS secrets, DBSS-encrypted data.
- Require rollback path - document the cancel-pending-deletion action (available only within the pending window); after window expires there is no rollback.
- Get explicit written confirmation - require the operator to state key ID, window length, enumerated encrypted resources, and MLPS classification before proceeding.
Pre-Flight Checklist
Before scheduling any KMS key for deletion, verify all of the following:
- Key identity confirmed - confirm key ID, alias, key type (symmetric/asymmetric), and current status.
- Pending deletion window reviewed - confirm the window length (minimum 7 days, maximum 1096 days); longer windows provide more recovery time.
- Encrypted resource enumeration complete - list all OBS buckets using this key for SSE, all ECS instances with disk encryption using this key, all GaussDB/RDS instances with CMK encryption, all CSMS secrets encrypted by this key, all DBSS-encrypted databases.
- MLPS Level 3 classification checked - determine if any encrypted resource is subject to MLPS Level 3; if yes, key deletion constituting data destruction triggers mandatory 24-hour incident reporting.
- Cancel-pending-deletion procedure documented - confirm the operator knows how to cancel pending deletion within the window (DEW console > Keys > Cancel Pending Deletion).
- Approval documented - obtain explicit written operator approval including key ID, window, and MLPS obligation acknowledgment.
Required Confirmation
The operator must explicitly state all of the following before key deletion is scheduled:
- "I confirm the target key is
<KEY_ID>(<KEY_ALIAS>) in account<ACCOUNT_ID>, enterprise project<ENTERPRISE_PROJECT>." - "I confirm the pending deletion window is
<DAYS>days and I understand the key is permanently destroyed after this window." - "I have enumerated all resources encrypted by this key:
<LIST_ENCRYPTED_RESOURCES>." - "I confirm all enumerated resources have been migrated to a new key or decommissioned."
- "I confirm this key
[IS / IS NOT]subject to MLPS Level 3 classification." - "I approve scheduling this key for deletion."
For MLPS Level 3 classified keys, additionally require:
- "I confirm that this key deletion constitutes data destruction and I will file the mandatory incident report within 24 hours."
Rollback Procedure
- Within pending-deletion window (reversible): DEW console > Keys > select key > Cancel Pending Deletion - key returns to Enabled or Disabled state.
- After window expires (irreversible): no recovery path. All data encrypted by this key is permanently inaccessible.
- Document the cancel-pending-deletion deadline prominently in the change ticket.
Post-Action Verification
- Confirm key status shows
Pending Deletionwith the correct deletion date. - Verify the pending-deletion window matches the approved window length.
- Test access to a sample encrypted resource to confirm it is still accessible within the window.
- If MLPS Level 3 data destruction: initiate incident report process within 24 hours.
Response Shape
- Key identity confirmed
- Pending deletion window and expiry date
- Encrypted resource enumeration
- MLPS Level 3 classification
- Blast radius summary
- Rollback window deadline
- Approval status
- Executed action
- Post-action verification
What ships with it: 3 files
4.5 KB alongside SKILL.md
references/
- official-sources.md411 B
- workflow-and-output.md3.2 KB
- metadata.json904 B