
aws-sdk-java-v2-kms
Provides AWS Key Management Service (KMS) patterns using AWS SDK for Java 2.x
by giuseppe-trisciuoglioFree
Description
AWS SDK for Java 2.x KMS is an agent skill that gives patterns for AWS Key Management Service in Java. It covers creating and managing encryption keys, encrypting and decrypting data, envelope encryption for larger payloads, digital signatures and Spring Boot integration. The workflow is a sequence of steps with a check after each one. The agent sets up least-privilege IAM permissions for kms actions, creates a KmsClient with a region and credentials, creates keys and confirms their state is enabled, and sets key policies and tests access before production. For data under 4 KB it encrypts directly, and for larger data it generates a data key for envelope encryption and confirms the key was produced. For signing keys it checks that the signature verifies, and for key rotation it enables automatic rotation and confirms the schedule. The skill is one of several AWS SDK for Java 2.x skills in the developer-kit repository by Giuseppe Trisciuoglio, which is public on GitHub. It is for Java developers who need to protect sensitive data with KMS keys and want the code to follow the SDK conventions and verify each step.…
Highlights
- Creates and manages KMS encryption keys
- Direct and envelope encryption for larger data
- Digital signatures with verification
- Automatic key rotation with a check
Ratings & Reviews
No ratings yet
Be the first to rate aws-sdk-java-v2-kms.
People also visit

aws-sdk-java-v2-secrets-manager
Provides AWS Secrets Manager patterns for AWS SDK for Java 2.x

creating-secrets-using-best-practices
Creates and manages secrets in AWS Secrets Manager following security best

aws-sdk-java-v2-core
Provides AWS SDK for Java 2.x client configuration, credential resolution

aws-secrets-manager
Secret safety for AWS Secrets Manager, secret management, credentials, API keys
aws-sdk-java-v2-kms FAQ
What is the KMS skill for Java?
An agent skill with patterns for AWS Key Management Service using the AWS SDK for Java 2.x, covering keys, encryption and signatures.
How do I install it?
Run npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-kms in your project.
When is envelope encryption used?
For larger data. The skill says direct encryption works for data under 4 KB, and envelope encryption uses a generated data key for anything bigger.
What does the skill check at each step?
For example that a key is enabled, that ciphertext is not empty, that a data key was generated, and that a signature verifies.
Which security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Warn. Snyk: Pass.
What are the best aws-sdk-java-v2-kms alternatives?
Popular alternatives to aws-sdk-java-v2-kms include aws-sdk-java-v2-secrets-manager, creating-secrets-using-best-practices and aws-sdk-java-v2-core. See all aws-sdk-java-v2-kms alternatives


