Maintained with ☕️ by
IcePanel logo

AWS Secrets Manager now supports batch retrieval of secrets

Share

Services

[AWS Secrets Manager](https://aws.amazon.com/secrets-manager/) now supports a single API call to identify and retrieve a group of secrets for your application. The new API, BatchGetSecretValue, offers greater simplicity to common developer workflows where you need to bring multiple secrets into your application. With this feature, you no longer have to make iterative calls to retrieve one secret at a time or account for partial failures when pulling multiple secrets, enhancing the overall efficiency. With the BatchGetSecretValue, you can input a list of secret names or ARNs, or filter criteria, such as tags. The API returns a response for all secrets meeting the criteria in the same format as the existing GetSecretValue API. This allows you to optimize your workloads while reducing the number of API calls. The API is available in all [AWS Regions](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) where AWS Secrets Manager is available, except China (Beijing) Region and China (Ningxia) Region. To learn more about how to use BatchGetSecretValue, visit the [API documentation](https://docs.aws.amazon.com/secretsmanager/latest/apireference/API%5FBatchGetSecretValue.html).