springboot-aws-secretsmanager

Component for loading AWS SecretsManager parameters in the spring-boot application and application.properties

License

License

MIT
Categories

Categories

AWS Container PaaS Providers
GroupId

GroupId

io.github.sdacode
ArtifactId

ArtifactId

springboot-aws-secretsmanager
Last Version

Last Version

1.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

springboot-aws-secretsmanager
Component for loading AWS SecretsManager parameters in the spring-boot application and application.properties
Project URL

Project URL

https://github.com/sdacode/springboot-aws-secretsmanager
Source Code Management

Source Code Management

https://github.com/sdacode/springboot-aws-secretsmanager

Download springboot-aws-secretsmanager

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot jar 2.4.4
com.amazonaws : aws-java-sdk-core jar
com.amazonaws : aws-java-sdk-secretsmanager jar

test (1)

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

Project Modules

There are no modules declared in this project.


Secrets Manager

springboot-aws-secretmanager ๐Ÿงฉ โš™๏ธ is a component
for loading โž• AWS SecretsManager parameters
in the โž• Spring Boot application

MIT license Maven Central

Installation ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ‘ฉโ€๐Ÿ’ป

Include in your pom.xml

<dependency>
    <groupId>io.github.sdacode</groupId>
    <artifactId>springboot-aws-secretsmanager</artifactId>
    <version>1.0.3</version>
</dependency>

Using the lib

Use a property that is prefixed with AwsSecretsManager::<yourkey>

Example: Class(@Component or @Service)

@Value("${AwsSecretsManager::/example/secrets/parameter}")
String value;

Example: application.properties

example.secrets.parameter=${AwsSecretsManager::/example/secrets/parameter}

Properties configuration ๐Ÿ”ง ๐Ÿ“‹

By default:

aws.secretsmanager.enable=true
aws.secretsmanager.region=us-east-1

When including the library in your pom.xml, it is enabled by default, to disable it, use the following property:

aws.secretsmanager.enable=false

To change the region:

aws.secretsmanager.region=<region-string>

Contributing ๐Ÿค ๐Ÿค™

Open an issue to report bugs or to request additional features. Pull requests are always welcome.

Versions

Version
1.0.3
1.0.2
1.0.1
1.0.0