ncloud_create_role
Create a new IAM role in NCP Gov Cloud with configurable role type, description, and session expiration. Use dryRun to preview role creation without applying it.
Instructions
Create a new IAM role. Use dryRun=true to preview without creating.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"roleName": "<roleName>",
"roleType": "<roleType>",
"isMyAccount": "<isMyAccount>"
},
"name": "ncloud_create_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | If true, returns a preview without actually creating the role | |
| descCont | No | Description of the role | |
| roleName | Yes | Role name (3-100 chars, letters/numbers/special chars . _ -, must start with letter) | |
| roleType | Yes | Role type: Server (VPC server), Account (console/portal access), Service (inter-service access) | |
| isMyAccount | Yes | Whether the role applies to the current account | |
| sessionExpirationSec | No | Session expiration time in seconds (600, 1800, 3600, or 10800). Not allowed for Server type. |