aws-param-store-config

Spring Cloud config integration with the AWS Parameter Store

License

License

Categories

Categories

AWS Container PaaS Providers config Application Layer Libs Configuration
GroupId

GroupId

com.github.mdsina
ArtifactId

ArtifactId

aws-param-store-config
Last Version

Last Version

0.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

aws-param-store-config
Spring Cloud config integration with the AWS Parameter Store
Project URL

Project URL

https://github.com/mdsina/aws-param-store-config
Source Code Management

Source Code Management

https://github.com/mdsina/aws-param-store-config

Download aws-param-store-config

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.mdsina/aws-param-store-config/ -->
<dependency>
    <groupId>com.github.mdsina</groupId>
    <artifactId>aws-param-store-config</artifactId>
    <version>0.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.mdsina/aws-param-store-config/
implementation 'com.github.mdsina:aws-param-store-config:0.1.1'
// https://jarcasting.com/artifacts/com.github.mdsina/aws-param-store-config/
implementation ("com.github.mdsina:aws-param-store-config:0.1.1")
'com.github.mdsina:aws-param-store-config:jar:0.1.1'
<dependency org="com.github.mdsina" name="aws-param-store-config" rev="0.1.1">
  <artifact name="aws-param-store-config" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.mdsina', module='aws-param-store-config', version='0.1.1')
)
libraryDependencies += "com.github.mdsina" % "aws-param-store-config" % "0.1.1"
[com.github.mdsina/aws-param-store-config "0.1.1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter jar 2.0.2.RELEASE
org.springframework.cloud : spring-cloud-context jar
com.amazonaws : aws-java-sdk-ssm jar
javax.validation : validation-api Optional jar 2.0.1.Final
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.0.2.RELEASE

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar 2.0.2.RELEASE

Project Modules

There are no modules declared in this project.

AWS Parameter Store Config Support

This module adds support for using the AWS Parameter Store as a Spring Cloud configuration backend by creating a composite PropertySource at bootstrap time, similar to Spring Cloud's Consul support. It relies on the AWS SDK for Java to retrieve parameters from the Parameter Store.

Usage and Configuration

Simply add a dependency on this library from a Spring Cloud-enabled application to activate its support. You can disable it by specifying a aws.paramstore.enabled property and setting it to false.

Further configuration is documented in the AwsParamStoreProperties class. If you're using a single Parameter Store for multiple deployment environments, then make sure to override the default aws.paramstore.prefix property with an environment-specific value.

Configuring the AWSSimpleSystemsManagement client

Typically it's expected that the AWSSimpleSystemsManagement instance created by the AwsParamStoreBootstrapConfiguration will work correctly using its default configuration. Check its documentation to understand where it looks for AWS credentials to connect to the Parameter Store.

If you would like to override the client, you'd have to define your own Spring Cloud bootstrap configuration to define your own instance.

Versions

Version
0.1.1
0.1