Caching CMM max age should be required to be greater than 0

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Closed

Labels

@mattsb42-aws

Description

The caching CMM should require that max_age is greater than 0.

If initialized with a max_age value that is not greater than 0, we should raise a ValueError with an appropriate error message similar to the checks we already apply:

https://github.com/aws/aws-encryption-sdk-python/blob/master/src/aws_encryption_sdk/materials_managers/caching.py#L98-L109

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions