sts_assume_role
Assume an IAM role to obtain temporary, time-limited credentials for Wasabi access; set confirm=true and optionally narrow permissions with an inline policy.
Instructions
Assume an IAM role and get temporary credentials; needs confirm=true.
duration_seconds is 900 to 43,200, and an optional inline policy narrows access.
The credentials are returned once; with WASABI_MCP_SECRETS_DIR set, they go to a new
0600 file instead and secrets_file gives its path. Wasabi doesn't let the root
account assume roles.
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": {
"role_arn": "<role_arn>",
"session_name": "<session_name>"
},
"name": "sts_assume_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy | No | ||
| confirm | No | ||
| role_arn | Yes | ||
| session_name | Yes | ||
| duration_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||