spring-attic / spring-cloud-aws

All development has moved to https://github.com/awspring/spring-cloud-aws Integration for Amazon Web Services APIs with Spring
https://awspring.io/
Apache License 2.0
590 stars 373 forks source link

Not able to fetch multiple secrets with spring-cloud-starter-aws-secrets-manager-config #800

Open PriyankaKotwal2019 opened 2 years ago

PriyankaKotwal2019 commented 2 years ago

Type: Bug

Component: "Secrets Manager"

Describe the bug I am using spring-cloud-starter-aws-secrets-manager-config to retrieve secrets from Secret Manager. It works perfectly fine with a single secret however I want to retrieve values from multiple secrets, how can I do that? Storing all my secrets under 1 secret to use spring-cloud-starter-aws-secrets-manager-config is not an option for us.

Sample For example, I have 2 secrets with key-value pairs.

  1. /my-service/secret1 testKey1:textValue1
  2. /my-service/secret2 testKey2:testValue2 testKey3:testValue3