kms

Manage AWS KMS keys, aliases, policies, and encryption via the AWS CLI.

3|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/david-2814/claw-aws --skill kms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kms
Source: https://github.com/david-2814/claw-aws/tree/main/skills/kms
Command: npx skills add https://github.com/david-2814/claw-aws --skill kms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing AWS KMS keys, aliases, grants, and policies across environments can be error-prone and hard to audit.

Core Features & Use Cases

  • Create and manage KMS keys and aliases, attach policies, and rotate keys.
  • Encrypt and decrypt data using AWS CLI, and manage grants for cross-account access.
  • Audit key usage and enforce policy compliance across accounts.

Quick Start

Initialize a new customer-managed key and perform a basic encrypt/decrypt test using the AWS CLI.

Frequently Asked Questions about kms

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage AWS KMS keys and aliases across multiple accounts using the AWS CLI?

You can manage AWS KMS keys and aliases across multiple accounts by using AWS CLI commands to create keys, assign aliases, and configure cross-account access. This streamlines multi-account security workflows and ensures consistent key administration.

What is the best way to enable key rotation and enforce KMS policy compliance?

The best way to enforce KMS policy compliance is by attaching strict policies and enabling key rotation via AWS CLI commands. This ensures your customer-managed keys are automatically rotated and audited for secure usage.

How do I encrypt and decrypt data using AWS KMS via the command line?

To encrypt and decrypt data using AWS KMS, use the AWS CLI encrypt and decrypt commands. This allows you to securely handle cryptographic operations directly from the command line using your managed keys.

Can I configure cross-account access control for AWS KMS grants?

Yes, you can configure cross-account access control by managing KMS grants and key policies. This allows secure delegation of encryption and decryption permissions to external AWS accounts.

What safety guidance is provided for destructive AWS KMS actions?

Safety guidance for destructive AWS KMS actions is built into the workflow to prevent accidental data loss during key deletion or policy modifications. This ensures secure execution of potentially irreversible CLI commands.

How do I generate a data key for AWS KMS encryption workflows?

You can generate a data key using the AWS CLI generate-data-key command. This provides the necessary cryptographic material to perform local envelope encryption while keeping the master key secure in AWS KMS.