Step 1:
Sign in to the AWS Management portal as a root user or IAM user.
Open the Identity and Access Management (IAM) service. On the Access Management menu, choose Users (#1) and choose your IAM user name (not the checkbox) for which you want to create a pair of access keys.
It is recommended that the selected user have read-only access (#2) to the AWS S3 service.
Open the Security Credentials tab (#3).
Step 2:
In the Access Keys section choose Create access key (#4) to start a wizard for creating AWS S3 access keys.
Step 3:
Choose the Application running outside AWS option (#5) and proceed to the Next step.
Step 4:
Set a description for a new access keys pair (e.g. S3 indexing key) and choose Create access key (#6).
Step 5:
After a new key pair has been created, it is available for download on the Retrieve access keys page. To see the new access keys, choose Show (#7.1).
To download the key pair, choose Download .csv file (#7.2).
After the keys have been saved, choose Done (#8) to close the page.