com.amazonaws.auth
Interface AWSCredentials

All Known Subinterfaces:
AWSRefreshableSessionCredentials, AWSSessionCredentials
All Known Implementing Classes:
BasicAWSCredentials, BasicSessionCredentials, PropertiesCredentials, STSSessionCredentials

public interface AWSCredentials

Provides access to the AWS credentials used for accessing AWS services: AWS access key ID and secret access key. These credentials are used to securely sign requests to AWS services.

A basic implementation of this interface is provided in BasicAWSCredentials, but callers are free to provide their own implementation, for example, to load AWS credentials from an encrypted file.

For more details on AWS access keys, see: http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/ AboutAWSCredentials.html#AccessKeys


Method Summary
 StringgetAWSAccessKeyId()
          Returns the AWS access key ID for this credentials object.
 StringgetAWSSecretKey()
          Returns the AWS secret access key for this credentials object.
 

Method Detail

getAWSAccessKeyId

String getAWSAccessKeyId()
Returns the AWS access key ID for this credentials object.

Returns:
The AWS access key ID for this credentials object.

getAWSSecretKey

String getAWSSecretKey()
Returns the AWS secret access key for this credentials object.

Returns:
The AWS secret access key for this credentials object.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14