Skip to main content

Getting Started

Documentation

You can find the official STS documentation here: https://docs.aws.amazon.com/STS/latest/APIReference/welcome.html

Example User

  • In this example we’ll set up a new AWS user with no specific permissions and create a role that has STS associated with it and has read-only DynamoDB permissions.

Creating the User

  • First of all we need to set up a new AWS user by going into Console > Services > IAM then hitting the Add users button.

Img

User Details

  • Then name the user and set the access type to Programmatic Access. In this example we'll set our user to sts-user.

Img

Permissions

  • In the next screen related to permissions and adding the user to a group, you can skip the page without setting any permissions.

Img

Create the user

  • Click on create user. When the user created success page is displayed.

Img

Summary

  • Here you can find the Access and Secret access key for the user, write down the keys as we'll need them later to authenticate the plugin in Unreal Enigne.

Img

User ARN

  • Navigate to the sts-user we just created so we can copy the ARN id of the user.

Img

  • Copy/Write down the User ARN string as we're going to be using this later.

Img

Example Role

  • Next we're going to create a STS role for our sts-user.

Img

Selecting the account

  • In this example we're going to be selecting "AWS account" identified by the ID number in our User ARN that we copied in the previous step, use the digital numbers only. (ie 1234345678).

Img

Role Permissions

  • Select the DynamoDb Read Only Access permission policy.

Img

Role Summary

  • Review the Role Summary and create the Role if you're happy with the settings.

Img

Role ARN

  • Click on your newly created sts_role and copy the Role ARN as we'll be using this later.

Img Img

Trust Policy

  • By default the trust relationship is set to trust the root account, you need to change this to set up the relationship with the user we set up (sts-user) by changing the ARN in the policy to the User Arn that we created earlier.

Img

  • Replace with the User Arn and update the policy.

Img

Summary

  • This is an example of an updated policy

Img

Inline Policy

  • Next we have to add an Inline policy for STS to our sts-user.

Img

Add Inline Policy

  • Click on Add inline policy in the Users permissions.

Img

Policy Settings

  • Select the STS service and All STS actions (you may want to customize these permissions for your needs, but for the simplicity of this tutorial all permissions are selected).

Img

  • In the Resources settings we'll specify the Role Arn that we copied earlier when creating our sts-role. After adding the sts_role to the resources setings then click on Review policy.

Img

  • If everything looks OK then click on Create policy

Img

DynamoDb Example

  • You should now have a fully configured STS user that can read DynamoDB Data. Below is a screenshot of how to use STS in conjunction with the eelDev DynamoDB plugin.

Img