User guide
To provide access credentials for an IAM user
1. Sign in to the AWS Management Console and open the IAM console at https://
console.aws.amazon.com/iam/.
2. Click Users to view your IAM users.
3. If you don't have any IAM users set up, click Create User to create one.
4. Click the IAM user for whom you want to provide access credentials.
5. Under Security Credentials, click Manage Access Keys.
6. Click Create Access Key to create a new access key.
7. On the resulting dialog, click the Download Credentials button to download the credential file to
your computer, or click Show User Security Credentials to view the IAM user's access key ID and
secret access key.
Note
You cannot obtain the secret access key once you close the dialog. If you lose the secret
access key, you will need to create a new access key.
8. Click Close to close the dialog.
Install a Java Development Environment
The AWS SDK for Java requires J2SE Development Kit 6.0 or later.You can download the latest Java
software from http://developers.sun.com/downloads/. The SDK also uses the Apache Commons (Code,
HTTP Client, and Logging), and Saxon HE third-party packages, which are included in the third-party
directory of the SDK.
If you use Eclipse, the AWS Toolkit for Eclipse provides support for the SDK for Java as well as additional
management features. For more information on installing the Toolkit for Eclipse, see http://
aws.amazon.com/eclipse/. For more information about using the Toolkit for AWS development, see the
AWS Toolkit for Eclipse Getting Started Guide.
Choosing a JVM
For the best performance of your server-based applications with the AWS SDK for Java, we recommend
that you use the 64-bit version of the Java Virtual Machine (JVM). This JVM runs only in Server mode,
even if you specify the -Client option at run time. Using the 32-bit version of the JVM with the -Server
option at run time should provide comparable performance to the 64-bit JVM.
Install the AWS SDK for Java
Once you have set up Java, you should download and install the AWS SDK for Java.
If you intend to use the SDK for Java with the Eclipse IDE, you should install the AWS Toolkit for Eclipse,
which automatically includes the SDK for Java. For information about how to obtain, install, and set up
the Toolkit for Eclipse, see Setting Up the AWS Toolkit for Eclipse in the AWS Toolkit for Eclipse Getting
Started Guide.
If you use Apache Maven, you can list either the entire SDK or specific SDK components as dependencies
for your project. See Using the SDK for Java with Apache Maven (p. 6) for details about how to integrate
the SDK for Java in your Maven projects.
If you intend to build your projects using Ant and the command line, or if you will be using an IDE other
than Eclipse, you can set up the Java SDK as shown here.
Version v1.0.0
5
AWS SDK for Java Developer Guide
Install a Java Development Environment