Open
Description
Use case
Several months ago Secrets Manager launched the ability to retrieve a batch of secrets a single API (link).
Similar to what we do for SSM Parameters, we should allow customers to retrieve multiple secrets via a new getSecretsByName()
helper function and getMultiple()
method on the SecretsProvider
class.
Solution/User Experience
Needs investigation.
The original issue in Python (aws-powertools/powertools-lambda-python#4200) suggests we should follow a similar experience to the getParametersByName()
method in the SSMProvider
, however I am still unsure how that would look like, and I'd like to understand if we could instead just extend the getMultiple()
method in the SecretsProvider
.
Alternative solutions
Acknowledgment
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
On hold