@Deprecated public class SystemPropertiesCredentialsProvider extends java.lang.Object implements AWSCredentialsProvider
AWSCredentialsProvider implementation that provides credentials by
looking at the aws.accessKeyId and aws.secretKey
Java system properties.| Constructor and Description |
|---|
SystemPropertiesCredentialsProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
AWSCredentials |
getCredentials()
Deprecated.
Returns AWSCredentials which the caller can use to authorize an AWS
request.
|
void |
refresh()
Deprecated.
Forces this credentials provider to refresh its credentials.
|
java.lang.String |
toString()
Deprecated.
|
public SystemPropertiesCredentialsProvider()
public AWSCredentials getCredentials()
AWSCredentialsProvidergetCredentials in interface AWSCredentialsProviderpublic void refresh()
AWSCredentialsProviderrefresh in interface AWSCredentialsProviderpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.