RAM authentication
Updated at:
Copy as MD
Before a RAM user can call Cloud Gaming APIs, the root account must grant permissions to the RAM user by creating an authorization policy. This policy uses a resource descriptor, an Alibaba Cloud Resource Name (ARN), to specify the authorized resources.
Authorizable cloud gaming resource types
The format for describing cloud game resources when you grant permissions to a RAM user is as follows:
| Resource | Resource description |
| Game | acs:cloudgame:$regionid:$accountId:game/$gameId |
| Project | acs:cloudgame:$regionid:$accountId:project/$projectId |
Authorizable cloud gaming APIs
The following table lists the Cloud Gaming APIs that can be authorized and their description formats.
| API | Resource description |
| ListGames | acs:cloudgame:$regionid:$accountId:game/$gameId |
| acs:cloudgame:$regionid:$accountId:game/* | |
| ListProjects | acs:cloudgame:$regionid:$accountId:project/$projectId |
| acs:cloudgame:$regionid:$accountId:project/* |
Is this page helpful?