AWS doesn’t allow you to retrieve the Secret Key for an existing Access Key. Here is how to create a new one.
After you’ve logged in to the Security Credentials section of your account:
Expand the Access Keys line
Click “Create New Access Key”
Get your Access Key ID and Secret Access Key