feat: Cache AWS SNS certs#5610
Open
usernamenenad wants to merge 2 commits into
Open
Conversation
Use TTL cache for caching certs (recommended by AWS official docs) Signed-off-by: usernamenenad <radovic.nenad158@gmail.com>
Signed-off-by: usernamenenad <radovic.nenad158@gmail.com>
|
👋 Commands for maintainers:
|
|
❌ This pull request title does not follow semantic pull request conventions. Title: Reason: Title must start with a semantic type (feat, fix, docs, chore). Expected format: Allowed types: feat, fix, docs, chore Examples:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolving a TODO for caching AWS SNS message certs
AWS does not document a rotation cadence for these certificates, so I've implemented a conservative refresh window rather than a value tied to any known rotation schedule.