rabbitmq__CreateUser
Create a RabbitMQ user and assign per-vhost configure, write, and read permissions using regex patterns; supported only for AMQP instances.
Instructions
[RABBITMQ] 创建用户(仅AMQP版本支持)。
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": {
"access_key": "<access_key>",
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"secret_key": "<secret_key>",
"vhosts": "<vhosts>"
},
"name": "rabbitmq__CreateUser"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vhosts | Yes | 需要配置权限的Vhost,一个用户可以配置多个Vhost下的资源权限。 | |
| access_key | Yes | 用户名,只能英文字母开头,且由英文字母、数字、中划线、下划线组成,长度为7~64个字符。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](rabbitmq-api-190611012.xml)。 | |
| secret_key | Yes | 密钥。 | |
| instance_id | Yes | 实例ID。 |