Skip to content

navuniverse/spring-aws-store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-aws-store

Spring Boot Integration Application With AWS Parameter Store as Config Source.

The application uses Amazon Access Key and Secret key to access the Parameter store rather than IAM roles as we can use the Aceess keys method on non-EC2 environments as well.

changes to do to use

  1. You have to create three environment variable for your AWS Credentials -

a. AWS_ACCESS_KEY - Access Key of your AWS Acccount where Parameter Config is Stored

b. AWS_SECRET_KEY - Secret Key of your AWS Acccount where Parameter Config is Stored

c. AWS_REGION - Region of your AWS Acccount where Parameter Config is Stored

  1. You must create Parameter /config/awsstore/hello in your AWS.
  2. Run the application as Spring Boot and open swagger at http://localhost:8083/awsstore/swagger-ui.html in order to verify and test the integration.
  3. The APIs provided will help you access properties from AWS Parameter Store in multiple ways - using @Value, using @Autowired ConfigurableEnvironment and using AWS SSM client.

About

AWS Parameter Store Integration With Spring Boot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages