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:

ResourceResource description
Gameacs:cloudgame:$regionid:$accountId:game/$gameId
Projectacs: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.

APIResource description
ListGamesacs:cloudgame:$regionid:$accountId:game/$gameId
acs:cloudgame:$regionid:$accountId:game/*
ListProjectsacs:cloudgame:$regionid:$accountId:project/$projectId
acs:cloudgame:$regionid:$accountId:project/*