Register a Scaleway IAM SSH Key
scaleway_iam_create_ssh_keyRegister a public SSH key with Scaleway IAM to grant SSH access to project instances. Use this action to provision trusted keys for deploy bots or users.
Instructions
Register a PUBLIC SSH key (never a private key - rejected client-side if the payload looks like a PEM private-key block or doesn't start with a recognized public-key prefix). This grants SSH access to any Instance/service that trusts keys from this Project - don't call speculatively.
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": {
"name": "<name>",
"public_key": "<public_key>"
},
"name": "scaleway_iam_create_ssh_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label for this key, e.g. 'deploy-bot' or the person's name. | |
| project_id | No | Project to scope this call to. Defaults to this server's configured project (SCW_PROJECT_ID). | |
| public_key | Yes | The full public key line, e.g. 'ssh-ed25519 AAAA... comment'. NOT a private key. |