public final class EnvironmentVariableCredentialsProvider extends SystemSettingsCredentialsProvider
AwsCredentialsProvider
implementation that loads credentials from the AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and
AWS_SESSION_TOKEN environment variables.Modifier and Type | Method and Description |
---|---|
static EnvironmentVariableCredentialsProvider |
create() |
protected Optional<String> |
loadSetting(SystemSetting setting)
Implemented by child classes to load the requested setting.
|
String |
toString() |
resolveCredentials
public static EnvironmentVariableCredentialsProvider create()
protected Optional<String> loadSetting(SystemSetting setting)
SystemSettingsCredentialsProvider
loadSetting
in class SystemSettingsCredentialsProvider
Copyright © 2019. All rights reserved.