Class ExampleScenario18
java.lang.Object
co.ankatech.ankasecure.sdk.examples.ExampleScenario18
Scenario 18 – Dynamic Key-Limit Upsize
This scenario shows a full lifecycle where an AES-256 symmetric key is created with conservative “pilot” limits, then upsized in place via JSON Merge-Patch:
- Generate the key with
softUsageLimit = 5
,maxUsageLimit = 10
, and an expiry ≈ 2 months. - Export the baseline metadata.
- Patch the key to
softUsageLimit = 50
,maxUsageLimit = 100
, and extend expiry to ≈ 18 months. - Export the updated metadata and verify the changes.
- Since:
- 2.1.0
- Author:
- ANKATech – Security Engineering
-
Method Summary
-
Method Details
-
main
Entry-point.
-