This is a small module that provides the AWS Secrets Manager client implementation of BaseSecretClient
and SecretClientSupplier
from datarouter-secret.
DefaultAwsSecretClientCredentialsHolder
makes use of AWS-provided automatic credential finding capabilities. If that does not work, HardcodedAwsSecretClientCredentialsHolder
can be used instead.
<dependency>
<groupId>io.datarouter</groupId>
<artifactId>datarouter-aws-secrets-manager</artifactId>
<version>0.0.126</version>
</dependency>
You can install this module by adding its plugin to the WebappBuilder
.
.addPlugin(new DatarouterAwsSecretsManagerPluginBuilder()
//.setHardcodedCredentials(...) if `DefaultAwsSecretClientCredentialsHolder` is insufficient
.build()
See datarouter-secret's README for usage. This module only provides the AWS client implementation and helpers.
This library is licensed under the Apache License, Version 2.0 - see LICENSE for details.