public class HttpAWSCredentials extends Object implements org.apache.http.auth.Credentials
Constructor and Description |
---|
HttpAWSCredentials(String awsServiceName,
String awsRegion,
String awsAccessKey,
String awsSecretKey) |
Modifier and Type | Method and Description |
---|---|
AWSCredentials |
createAWSCredentials()
Creates an
AWSCredentials object from the given service, region, access key and password. |
String |
getAwsAccessKey() |
String |
getAwsRegion() |
String |
getAwsServiceName() |
String |
getPassword() |
Principal |
getUserPrincipal() |
public Principal getUserPrincipal()
getUserPrincipal
in interface org.apache.http.auth.Credentials
public String getPassword()
getPassword
in interface org.apache.http.auth.Credentials
public String getAwsServiceName()
public String getAwsRegion()
public String getAwsAccessKey()
public AWSCredentials createAWSCredentials()
AWSCredentials
object from the given service, region, access key and password.