
Aws Sdk Java V2 Kms
Reusable AWS KMS patterns with AWS SDK for Java 2.x covering keys, envelope encryption, and digital signatures.
- skills.sh installs
- 3.9K
- GitHub stars
- 372
- last updated
- Aug 21, 2026
What it does
- Covers KMS client setup, key creation and state management, direct encrypt and decrypt, and envelope encryption with data keys
- Includes sync and async client builders, with retry configuration and region and credential provider wiring shown
- Provides digital signing with RSA_2048 keys and RSASSA_PSS_SHA_256 signatures, plus signature verification
- Designed for Java services that need KMS-backed encryption, including Spring Boot applications
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-kms -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
AWS SDK for Java 2.x - AWS KMS (Key Management Service)
Overview
Provides AWS KMS patterns using AWS SDK for Java 2.x. Covers key management, encryption/decryption, envelope encryption, digital signatures, and Spring Boot integration.
Instructions
- Set Up IAM Permissions - Grant kms:* actions with least privilege
- Create KMS Client - Instantiate KmsClient with region and credentials
- Create Keys - Use createKey() → Verify key state is ENABLED before proceeding
- Set Key Policies - Define key usage permissions → Test access before production
- Encrypt Data - Use encrypt() for data <4KB; Verify ciphertext is not empty
- Envelope Encryption - For larger data, use generateDataKey() → Verify data key generation succeeded
- Digital Signatures - Create signing keys → Verify signatureValid=true after sign/verify
- Key Rotation - Enable auto-rotation → Confirm rotation schedule is active
When to Use
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- Java & JVM, Security
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 95- Aws Sdk Java V2 Rds3.9K
- Nestjs Drizzle Crud Generator3.8K
- Aws Lambda Python Integration3.8K
- Aws Lambda Typescript Integration3.8K
- Sonarqube Mcp3.8K
- Better Auth3.8K
- Aws Lambda Java Integration3.7K
- Aws Lambda Php Integration3.7K
- Spring Boot Project Creator3.7K
- Docs Updater3.7K
- Notebooklm3.7K
- Github Issue Workflow3.7K
- Dynamodb Toolbox Patterns3.7K
- Memory Md Management3.7K
- Graalvm Native Image3.7K
- Adr Drafting3.6K
- Gemini3.6K
- Copilot Cli3.6K
- Codex3.6K
- Wiremock Standalone Docker3.6K
- Aws Cdk3.5K
- Learn3.5K
- Qwen Coder3.5K
- Bug Fix Brief3.2K
Similar to Aws Sdk Java V2 Kms
More Java & JVM
aws-sdk-java-v2-secrets-managerSkillgiuseppe-trisciuoglio/developer-kit3.9K installsJava services read and cache AWS Secrets Manager values with rotation-aware access and Spring Boot wiring.
aws-sdk-java-v2-coreSkillgiuseppe-trisciuoglio/developer-kit3.9K installsReusable AWS SDK for Java 2.x client setup covering credentials, region, HTTP tuning, timeouts, and retries.
creating-secrets-using-best-practicesSkillaws/agent-toolkit-for-aws7.4K installsDedicated-KMS, rotation-enabled procedure for creating AWS Secrets Manager secrets with production-grade controls.
azure-sdk-javaPluginmicrosoft/skills3.2K starsAzure SDK patterns and best practices for Java developers covering AI, communication, storage, identity, monitoring, and management libraries.
securing-s3-bucketsSkillaws/agent-toolkit-for-aws7.7K installsGuided S3 bucket hardening covering creation, audits, remediation, encryption, and monitoring with AWS best practices.