aws / aws/aws-dynamodb-encryption-java

Add example for using CachingMostRecentProvider and upgrading material version

Open
#150 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
141
Forks
74
PR merge metrics
No merged PRs in 30d

Description

### Problem:

The AWS docs mention "rotating cryptographic material" here: https://docs.aws.amazon.com/dynamodb-encryption-client/latest/devguide/most-recent-provider.html

However it could be more clear what "call the provider store's Create New Provider operation with the material name of the Most Recent Provider" means for this library.

### Solution:

This repo should have an example showing how to do this using the Metastore's newProvider() method.

### Out of scope:

Updating the corresponding AWS docs to reference this new example.

Contributor guide

Open the contributing guide

Research direction

Read the linked AWS most-recent-provider guidance and the Metastore.newProvider() entry point first. Add a repository example that demonstrates using CachingMostRecentProvider and upgrading the material version, while leaving the AWS documentation unchanged as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.