Container Registry
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | CreateRobotAccount | The API name. The current API's name is CreateRobotAccount. |
Version | String | Yes | 2022-05-12 | The API version. The current version of the API is 2022-05-12. |
Registry | String | Yes | registrya | The instance name where the robot account is located. |
Username | String | Yes | crrobot@username1 | The name of the robot account, in the format crrobot@****. |
Password | String | no | yourpassword | The password for logging into the robot account. If not provided, a random password will be generated. |
Description | String | no | Used for cicd | The description of the robot account. |
Duration | Long | Yes | -1 | The effective time in days, with a maximum limit of 366. Use -1 for an indefinite duration. |
Permissions | Yes | [{"Resource":"*","Actions":"CreateRepository"] | The permission scope for the robot account. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Actions | Array of String | Yes | PushRepository | The supported operational permissions:
|
Resource | String | Yes |
| The resource object on which the operation is performed. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Username | String | crrobot@username1 | The name of the robot account. |
Password | String | password1 | The password for logging into the robot account. |