setup-iam-client - End to end testing - (Unreal Engine module)
Create IAM client to claim DS
To allow your backend service to claim dedicated servers (DS) from your AMS fleet, you need an IAM client with sufficient permissions. In this tutorial section, you will learn how that create IAM client.
- AGS Shared Cloud
- AGS Private Cloud
Log in to the Admin Portal and go to your game namespace dashboard.
Go to Game Setup > Games and Apps > IAM Clients and click Create IAM Clients.
On the new page, use the configuration below to create a new server IAM client.
- Create Options: the available options to create a new IAM client. Choose the Create Custom IAM Clients option to create a new IAM client from a scratch.
- Client Name: the name of the IAM client. Set it to ByteWars-AMSClaim.
- Client Type: the confidentiality of the IAM client. Set it to Confidential.
- Secret: the secret or password for the IAM client. You can use your own secret or click the Generate button to generate a random one. Be sure to copy this.
- Redirect URI: the URI used to redirect once the IAM client authorization is successful. Set it to
http://127.0.0.1
.
warningThe Secret will not be shown again after you create the IAM client. Be sure to copy and save it before proceeding to the next step.
On the Permissions section, enable the permission below. This permission allow you to claim dedicated servers from your AMS fleet.
- AMS > Dedicated Server Claim: enable Update permission.
Once done, click on the Create button to create your IAM client.
Log in to the Admin Portal and go to your game namespace dashboard.
Go to Game Setup > Games and Apps > IAM Clients and click Create New.
On the new window, use the configuration below to create a new server IAM client.
- Client Type: the confidentiality of the IAM client. Since the server IAM client must be secret, set it to Confidential.
- Secret: the secret or password for the IAM client. You can use your own secret or just click the Generate Client Secret button to generate a random secret.
- Client Name: the name of the IAM client. Set it to ByteWars-AMSClaim.
- Redirect URI: the URI used to redirect once the IAM client authorization is successful. Set it to
https://127.0.0.1
.
warningThe Secret will not be shown again after you create the IAM client. Be sure to copy and save it before proceeding to the next step.
Click Create to create your server IAM client. After that, your new IAM client information will be displayed on the screen.
Go to the Permissions tab and click on the Add button to add new permissions. Then, add the permissions below. This permission allow you to claim dedicated servers from your AMS fleet.
Resource Permission NAMESPACE:{namespace}:AMS:SERVER:CLAIM Update Now, your IAM client setup is complete.