public class SystemPropertiesCredentialsProvider extends Object implements AWSCredentialsProvider
AWSCredentialsProvider implementation that provides credentials by looking at the aws.accessKeyId and aws.secretKey Java system properties.| Constructor and Description |
|---|
SystemPropertiesCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
AWSCredentials | getCredentials() Returns AWSCredentials which the caller can use to authorize an AWS request. |
void | refresh() Forces this credentials provider to refresh its credentials. |
String | toString() |
public AWSCredentials getCredentials()
AWSCredentialsProvidergetCredentials in interface AWSCredentialsProviderpublic void refresh()
AWSCredentialsProviderrefresh in interface AWSCredentialsProvider