AWS Import/Export
Developer Guide

Save Your Credentials to a File

AWS Import/Export uses AWS Identity and Access Management (IAM) to control which users in your AWS account can create, modify, view, or cancel AWS Import/Export jobs. We strongly recommend that you create IAM users and use the credentials for those IAM users to create and manage AWS Import/Export jobs. For more information, see Controlling Access to AWS Import/Export Jobs.


The IAM user that creates an AWS Import/Export job must own the Amazon S3 bucket associated with the job. That user must have access to the necessary resources until the AWS Import/Export job is completed. For listings of the specific permissions required, see Automatic Resource Policy Updates.

In this step, you will add your AWS IAM user credentials to the file that the AWS Import/Export Web Service Tool provides for you. The following procedure takes you through the necessary steps.

To save your access credentials to a file

  1. Locate your IAM access credentials. If you do not have IAM access credentials, you will need to create them or have someone who has permission to administer IAM create them for you. For more information, see Administering Access Keys for IAM Users.


    When you create an access key, it's the only opportunity you have to view and save the secret access key for that user. Make sure you download the access key and save it in a secure location. You will not be able to view the secret access key using the AWS Management Console again later; if it becomes unavailable, you will have to create a new access key.

  2. Go to the directory where you installed the AWS Import/Export Web Service tool.

  3. Open the file from this directory using any text editor.

  4. Update the file by providing your accessKeyId and secretKey. The following is an example of a credentials file.

    # Fill in your AWS Access Key ID and Secret Access Key # accessKeyId:<Your Access Key ID> secretKey:<Your Secret Key>
  5. Save the file.


    To protect your credentials, be sure to save the file to a secure location. This Getting Started assumes that you saved your credentials in the same directory as the Import/Export Web Service Tool, so that directory should be in a secure location. If your credentials file is in a different location, you can modify your command line to reference that location.

Now, you are ready to create a sample import or export job.


Create an Import Job.

Create Your First Amazon S3 Export Job.