Skip to main content

Creating a User

The plugins call AWS with the credentials of an IAM user. This page creates a user with an access key. The screenshots use GameLift, but the steps are the same for every service.

tip

For a shipped game client, don't use a long-lived access key. Use temporary credentials from a Cognito identity pool, or call AWS from your own backend.

Open IAM​

Log in to the AWS Console and open IAM.

Open IAM

Create the user​

Click Users, then Create user.

Users

Create user

Give the user a name.

User name

Select Attach policies directly, then review and create the user.

Attach policies directly

Review and create

Give the user permissions​

Open the user you created, click Add permissions and Create inline policy.

Open the user

Create inline policy

Search for the service you want to use, for example GameLift, S3 or DynamoDB.

Select the service

Select the actions and resources the user needs.

danger

The screenshots allow all actions on all resources. That is only for testing. In a release, only allow the actions and resources your game actually uses.

Select actions

Select resources

Review and create the policy.

Review and create the policy

Create an access key​

Open Security credentials and click Create access key.

Security credentials

Create access key

Read the warning about access keys and continue.

Access key warning

Access key options

Download the .csv file. The Access Key Id and Secret Key in it are what you use when you create the client object. The secret key can't be shown again later.

Download the keys