public class HttpAWSTemporaryCredentialsProvider
extends com.boomi.common.aws.rolesanywhere.TemporaryCredentialsProvider
TemporaryCredentialsProvider
using Apache HTTP client.
Invoke getCredentials(RolesAnywhereConfig)
providing the appropriate Roles Anywhere Configuration to obtain
a set of AWS Temporary Credentials.Constructor and Description |
---|
HttpAWSTemporaryCredentialsProvider(AtomProxyConfig proxyConfig)
Construct an instance of
HttpAWSTemporaryCredentialsProvider , building the CloseableHttpClient . |
Modifier and Type | Method and Description |
---|---|
com.boomi.common.aws.rolesanywhere.response.TemporaryCredentials |
getCredentials(com.boomi.common.aws.rolesanywhere.RolesAnywhereConfig config)
Obtain a set of AWS Temporary Credentials using the provided AWS IAM Roles Anywhere configuration.
|
public HttpAWSTemporaryCredentialsProvider(AtomProxyConfig proxyConfig)
HttpAWSTemporaryCredentialsProvider
, building the CloseableHttpClient
.proxyConfig
- the atom proxy configurationpublic com.boomi.common.aws.rolesanywhere.response.TemporaryCredentials getCredentials(com.boomi.common.aws.rolesanywhere.RolesAnywhereConfig config) throws IOException, AWSSignatureException
getCredentials
in class com.boomi.common.aws.rolesanywhere.TemporaryCredentialsProvider
config
- the AWS IAM Roles Anywhere configurationIOException
- if there is an I/O error getting the credentials from AWSAWSSignatureException
- if there is an error signing the request