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.
-
- Go to the IAM console.
-
- From the main page, click Create a New Group of Users.
-
- In the window that appears, type in a group name (such as sdk_demo_access) and then click Continue.
-
- 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.
-
- 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
-
- Make sure the Create New Users tab is selected, and then type in a username (such as sdk_demo) in the first text box.
-
- Leave Generate an access key for each User checked. This is necessary for creating our access keys.
-
- Click Continue.
-
- Review the new group and user list for errors, and then click Continue.
- Download the access keys
-
- The last window contains the actual access keys. Click Download Credentials and save the file to a safe location.
-
- When you are finished, click Close Window.