Register a Scaleway IAM SSH Key
scaleway_iam_create_ssh_keyRegister a public SSH key to grant SSH access to linked instances. Requires key name and full public key line; private keys are rejected.
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.
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. |