Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 1.15 KB

README.md

File metadata and controls

23 lines (18 loc) · 1.15 KB

AWS Auth Module

This module provides a the AwsCredentialsProvider Bean, which is resolving the AWS Credentails from a chain of providers. The configured providers and its order could be found here: AwsCredentialsConfiguration.

Usage

Just create your required AWS client and inject the AwsCredentialsProvider. Example:

@Bean
fun ssmAsyncClient(awsCredentialsProvider: AwsCredentialsProvider): SsmAsyncClient {
    return SsmAsyncClient.builder()
        .credentialsProvider(awsCredentialsProvider)
        .build()
}

Configurations:

property default value description
babbage.aws.auth.profile default Profile name for resolving aws credentials with ProfileCredentialsProvider, which is configured in provided AwsCredentialsProvider.