This session's access key
session_infoReturns the access key this session is connected with: its id and secret access key, every permission, the buckets and key prefix it is limited to, each region's S3 endpoint, and ready-to-paste setup for environment variables, the AWS CLI / SDK profiles and rclone. Use it to configure an S3 tool for bulk or long-running work. For a key whose irreversible operations the user confirms, the secret is withheld.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "session_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| via | Yes | bearer: the client sends the key itself; oauth: a key created when connecting | |
| label | Yes | ||
| notes | Yes | ||
| setup | Yes | ||
| confirms | Yes | true: the user confirms each operation that cannot be undone, and the secret is withheld - use execute_s3_operation and create_presigned_url | |
| endpoints | Yes | The S3 endpoint of each region - a bucket answers on its own region's only | |
| keyPrefix | Yes | Object keys must start with this; null is any key | |
| accessKeyId | Yes | ||
| bucketScope | Yes | null is every bucket, including ones created later | |
| permissions | Yes | Everything the key may do, the always-included permissions too | |
| secretAccessKey | Yes | The connected key's secret - never share or commit it. Empty when confirms is true |