-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
completedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityparametersThis item relates to the Parameters UtilityThis item relates to the Parameters Utility
Milestone
Description
Use case
I typically want to always set "decrypt" to true when getting parameters (since that works just fine whether an underlying SSM param is encrypted or not, and I'm accessing infrequently enough that costs and rate limiting is not a concern), and further I'd like to have a much longer default TTL for caching parameters so that I don't have to configure on every request.
Solution/User Experience
Be able to set env vars for default values for the parameters module, e.g. :
POWERTOOLS_PARAMETERS_TTL = 86400 (1 day)
POWERTOOLS_PARAMETERS_DECRYPT = true
(see also discussion in Discord at https://discordapp.com/channels/1006478942305263677/1088151329538580631/1088483265003925564)
Alternative solutions
No response
Acknowledgment
- This feature request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
heitorlessa and saragerion
Metadata
Metadata
Assignees
Labels
completedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilityparametersThis item relates to the Parameters UtilityThis item relates to the Parameters Utility