Describe the bug
Spring boot 2.4.3
Spring Cloud AWS: 2.3.1
I am facing a couple of issues with Spring Cloud AWS integration for Secrets Manager and Parameter Store. I am planning to store my config in Parameter Store and the secrets in Secrets Manager
Even though I have a bootstrap.yml under src/main/resources; it is not being read on startup. I had to move the configs to application.yml to make it work.
I put the secrets as plain text in /secret/epdcs/my-app , but that didn't work. Does only key/value pairs work?
When I import "aws-secretsmanager:", the app wouldn't even start, so I now have to specify the secret keys - "aws-secretsmanager:/secret/epdcs/application;/secret/epdcs/my-app"
To connect from my local machine, my understanding is that the cloud.aws.credentials.profile-name and cloud.aws.region.static will be used - but that didn't work and I had to set the environment variables AWS_PROFILE and AWS_REGION
Type: Bug
Component: Secrets Manager
Describe the bug Spring boot 2.4.3 Spring Cloud AWS: 2.3.1
I am facing a couple of issues with Spring Cloud AWS integration for Secrets Manager and Parameter Store. I am planning to store my config in Parameter Store and the secrets in Secrets Manager
"aws-secretsmanager:"
, the app wouldn't even start, so I now have to specify the secret keys -"aws-secretsmanager:/secret/epdcs/application;/secret/epdcs/my-app"
cloud.aws.credentials.profile-name
andcloud.aws.region.static
will be used - but that didn't work and I had to set the environment variablesAWS_PROFILE
andAWS_REGION
Sample
This is what I have in my application.yml:
These are the spring-cloud dependencies I have in pom.xml
and the BOM: