Update Scaleway API Key
scaleway_iam_update_api_keyUpdate an existing API key's description, expiry, or default_project_id without rotating the secret, preserving the access/secret key pair to avoid breaking deployed services.
Instructions
Change an existing API key's description, expiry, or default_project_id WITHOUT rotating its secret - the access_key/secret_key pair itself never changes. Use this instead of delete+recreate for a metadata-only change (e.g. extending an expiry before it lapses, or fixing a stale description); delete+recreate would mint a new secret and break anything already deployed with the old one. Only the fields you pass are changed; omitted fields are left as-is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access_key | Yes | The access_key (not secret_key) of the key to update, e.g. 'SCWXXXXXXXXXXXXXXXXX'. | |
| expires_at | No | New RFC3339 expiry, e.g. '2027-08-12T00:00:00Z'. Omit to leave unchanged - there is no way to clear an existing expiry back to 'never', only to set a new one. | |
| description | No | New description. Omit to leave unchanged. | |
| default_project_id | No | New default Project for Object Storage operations with this key. Omit to leave unchanged. |