Create a storage access key
create_storage_keyCreate an S3 access key (permission read, write or rw, optionally limited to one bucket and an expiry date). A secret is shown only once, when the key is made. Ask the customer first: show_secret true shows the key and secret in this chat (needs confirm: true); false creates nothing and returns the dashboard link where they create and copy it themselves.
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": {
"service_id": "<service_id>",
"region": "<region>",
"name": "<name>",
"permission": "<permission>",
"show_secret": "<show_secret>"
},
"name": "create_storage_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label for the key, e.g. "backup-script". | |
| bucket | No | Optional: limit the key to this one bucket. | |
| region | Yes | Region code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore). | |
| confirm | No | With show_secret true: must be true, only after the customer agreed to the secret appearing in this chat. | |
| expires | No | Optional expiry date, YYYY-MM-DD. | |
| permission | Yes | read = download only, write = upload only, rw = both. | |
| service_id | Yes | Object Storage service id, as returned by the matching list tool. | |
| show_secret | Yes | true = show the new secret here in the chat; false = do not create it here (dashboard link instead). Set only after asking the customer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| created | No | ||
| endpoint | No | ||
| access_key | No | ||
| permission | No | ||
| secret_key | No | ||
| dashboard_url | No |