create_ec2_credential
Creates a Keystone EC2 credential for S3 endpoint access and returns the secret once for configuring AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
Instructions
Create a Keystone EC2 credential for the S3 endpoint. The secret is returned once.
Service: Keystone (identity). Mutates state. Prefers POST /users/{id}/credentials/OS-EC2, which lets Keystone generate the access key and secret. If that API is disabled, stores an ec2 credential blob generated locally. Put the access key and secret in AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (or OS_S3_ACCESS_KEY and OS_S3_SECRET_KEY).
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": "create_ec2_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | ||
| project_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||