Skip to content

Improvement: Use of BatchGetSecretValue to lower API calls #95

@to11mtm

Description

@to11mtm

Basically, observation is that we use GetSecretValue in SecretManagerConfigurationProvider

Thought being, we could instead use BatchGetSecretValue API to retrieve up to 20 secrets at a time.

Biggest benefit would be to library consumers who have refresh set up and have many secrets, as it should lower the overall number of API calls and thus cost (also, hopefully would help with startup and refresh times.)

Note: Some consideration might be needed around how the API works alongside the request in #94, but I don't think it's big lift.

I'm happy to do this as a PR if it is ok with Author.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions