springboot-aws-secretsmanager

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

Лицензия

Лицензия

MIT
Категории

Категории

AWS Контейнер PaaS Providers
Группа

Группа

io.github.sdacode
Идентификатор

Идентификатор

springboot-aws-secretsmanager
Последняя версия

Последняя версия

1.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

springboot-aws-secretsmanager
Component for loading AWS SecretsManager parameters in the spring-boot application and application.properties
Ссылка на сайт

Ссылка на сайт

https://github.com/sdacode/springboot-aws-secretsmanager
Система контроля версий

Система контроля версий

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

Скачать springboot-aws-secretsmanager

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
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)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-test jar 2.3.9.RELEASE

Модули Проекта

Данный проект не имеет модулей.


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.

Версии библиотеки

Версия
1.0.3
1.0.2
1.0.1
1.0.0