Skip to content

Feature request: Support fetching multiple secrets at once with SecretsManager #4674

@bgeese-szdm

Description

@bgeese-szdm

Use case

Some lambdas need access to more than one secret. The SecretsManager allows batch requests and AWS SDK defines the BatchGetSecretValueCommand and BatchGetSecretValueCommandInput.

Solution/User Experience

Batch requests support fetching a list of secrets defined by their names. It uses a NextToken in case not all secrets are returned, which might require multiple requests to Secrets Manager to load the complete list.

Similiar to getSecret and getParametersByName, a good solution would provide a getSecrets function, that accepts multiple secrets and their options.

Alternative solutions

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedThe scope is clear, ready for implementationfeature-requestThis item refers to a feature request for an existing or new utilityparametersThis item relates to the Parameters Utility

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions