In the navigation bar on the upper right, select your user name, and then select Security credentials.
In the Access keys section, click Create access key. If you already have two access keys, this button is deactivated and you must delete an access key before you can create a new one.
On the Access key best practices & alternatives page, choose your use case to learn about additional options which can help you avoid creating a long-term access key. If you determine that your use case still requires an access key, click Other and then click Next.
Once you are done, a pair of both Access and Secret Access keys will be generated.