Spring boot integrating with last version of parameter-store or secrets (sample) #12
-
Hi, aws.paramstore.prefix=/config
aws.paramstore.name=abc
aws.paramstore.enabled=true
aws.paramstore.profileSeparator=_ My spring boot main class is just having "@SpringBootApplication" annotation. When I start the application I don't see the parameter values read from AWS. I am using spring boot 2.4.1 like below: <parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.1</version>
</parent> If we have any spring boot sample app working with the latest version of "spring-cloud-aws", please share it. Thank, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
You should use |
Beta Was this translation helpful? Give feedback.
-
Hello, In pom.xml I have:
In the application.properties the following:
I guess I should use then something like
But what I get is:
Any reason for this? Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
Hello, in my tests I'd want to disable getting the properties from paramstore via: any idea ? |
Beta Was this translation helpful? Give feedback.
You should use
io.awspring.cloud:spring-cloud-starter-aws-secrets-manager-config:2.3.0-RC1
dependency. If you are not usingspring.config.import=aws-parameterstore:
property then useorg.springframework.cloud:spring-cloud-starter-bootstrap
dependency as well. This should be at docs but the site is not available right now