Install any skill in seconds. Free to start, no credit card required.
Get Started Free →giuseppe-trisciuoglio/aws-sdk-java-v2-kms
Provides AWS Key Management Service (KMS) patterns using AWS SDK for Java 2.x.
Passed 21 of 22 test cases with the skill, and 19 of 22 without it.
2 fixed19 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am building a storage service in Java using AWS SDK 2.x and need to handle payload encryption for files that exceed direct KMS size limits. Please write a Java class that implements envelope encryption using a KMS client. It should include a method to generate a local data key from a master key ID, encrypt a byte array, and return a result object containing the encrypted payload and encrypted data key, as well as a corresponding decryption method. Ensure best practices for key material handling and SDK exception management are followed.
| Checked | Without skill | With skill |
|---|---|---|
| Checks that the generated data key response plaintext is non-null before performing encryption. | Missed | Passed |
| Checks that the generated data key response ciphertext blob is non-null before performing encryption. | Missed | Passed |
| Fills the plaintext data key byte array with zeros in memory after encryption. | Passed | Passed |
The instructions your model reads when the skill loads.
Provides AWS KMS patterns using AWS SDK for Java 2.x. Covers key management, encryption/decryption, envelope encryption, digital signatures, and Spring Boot integration.
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>kms</artifactId>
</dependency>
implementation 'software.amazon.awssdk:kms:2.x.x'
test cases passed, vs 19 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.