forked from aws-powertools/powertools-lambda-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
DATA_MASKING_STRING: str = "*****" | ||
# The maximum number of entries that can be retained in the local cryptographic materials cache | ||
CACHE_CAPACITY: int = 100 | ||
# The maximum time (in seconds) that a cache entry may be kept in the cache | ||
MAX_CACHE_AGE_SECONDS: float = 300.0 | ||
MAX_MESSAGES_ENCRYPTED: int = 200 | ||
# NOTE: You can also set max messages/bytes per data key | ||
# Maximum number of messages which are allowed to be encrypted under a single cached data key | ||
MAX_MESSAGES_ENCRYPTED: int = 4294967296 # 2 ** 32 | ||
# Maximum number of bytes which are allowed to be encrypted under a single cached data key | ||
MAX_BYTES_ENCRYPTED: int = 9223372036854775807 # 2 ** 63 - 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters