Create AWS access key - suguanyu/WechatTinyProgram GitHub Wiki

Create Access Keys

Creating access keys and managing their permissions is done through the AWS Identity and Access Management (IAM) console. It is a best practice to create individual users to access your AWS account and never share the root account credentials with anyone else. Follow these steps to create a demo user that is capable of accessing only a subset of the account's resources. Create a new group with the appropriate permissions.

    1. Go to the IAM console.
    1. From the main page, click Create a New Group of Users.
    1. In the window that appears, type in a group name (such as sdk_demo_access) and then click Continue.
    1. From the Select Policy Template section, find Amazon S3 Full Access and then click Select.
  • If you already know you'll need access to a different service, select a different policy template or create your own.
    1. The next window shows you what the raw IAM policy looks like. For the purpose of this demo, accept the default policy and click Continue.
  • Add a new user to the group
    1. Make sure the Create New Users tab is selected, and then type in a username (such as sdk_demo) in the first text box.
    1. Leave Generate an access key for each User checked. This is necessary for creating our access keys.
    1. Click Continue.
    1. Review the new group and user list for errors, and then click Continue.
  • Download the access keys
    1. The last window contains the actual access keys. Click Download Credentials and save the file to a safe location.
    1. When you are finished, click Close Window.