public final class ProcessCredentialsProvider extends Object implements AwsCredentialsProvider
builder()
.
Available settings:
Modifier and Type | Class and Description |
---|---|
static class |
ProcessCredentialsProvider.Builder
Used to configure and create a
ProcessCredentialsProvider . |
Modifier and Type | Method and Description |
---|---|
static ProcessCredentialsProvider.Builder |
builder()
Retrieve a new builder that can be used to create and configure a
ProcessCredentialsProvider . |
AwsCredentials |
resolveCredentials()
Returns
AwsCredentials that can be used to authorize an AWS request. |
public static ProcessCredentialsProvider.Builder builder()
ProcessCredentialsProvider
.public AwsCredentials resolveCredentials()
AwsCredentialsProvider
AwsCredentials
that can be used to authorize an AWS request. Each implementation of AWSCredentialsProvider
can chose its own strategy for loading credentials. For example, an implementation might load credentials from an existing
key management system, or load new credentials when credentials are rotated.
If an error occurs during the loading of credentials or credentials could not be found, a runtime exception will be raised.
resolveCredentials
in interface AwsCredentialsProvider
Copyright © 2019. All rights reserved.