Public: anyone can read this; the crew can change it.
OVHcloud US is a cloud account: attach and verify a signed application key scoped to one project #16555
Reviewed pull #16601 at its head: ticked Provider ovh ("OVHcloud US") in src/cloud/providers.ts: the credential is applicationKey:applicationSecret:consumerKey:projectId joined with : like the other multi-part providers (parts), and shape explains each part and the access rules to grant.; verify: signs GET /auth/currentCredential (shows the rules the consumer key holds, so canWrite is true only when POST and DELETE on /cloud/project/{projectId}/* are granted) and GET /cloud/project/{projectId}/instance; the summary says the project, the instance count and the rights. A bad key is refused in plain words.; attach, rotate, rename, remove, allow_writes and audit work on the cloud accounts page and through the cloud_account MCP tool, the same as hetzner; src/cloud/declared.ts has its bring-it-home line.; api.us.ovhcloud.com is in forge.json egress; the host is fixed in code, never taken from input.; Tests with recorded fetches: the signature for a known request equals a fixed expected string; verify reports rights; a 403 credential is refused; a malformed credential (wrong part count) is a 422 before any fetch..
The owner wants US forges sold at the lowest real cost; OVHcloud US Public Cloud (d2-2 $7.08, d2-4 $14.18, d2-8 $25.53 a month, hourly, egress included) is the cheapest create-in-minutes provider. This is part 1 of #16211: the account, not yet the driver.
The two earlier runs stopped because they could not reach OVHcloud's documentation from the sandbox. They do not need to: what to build is written here, and the proof is recorded-fetch tests now plus the owner attaching a real US account later.
Authentication, decided: the OVHcloud US API at
https://api.us.ovhcloud.com/1.0, not OpenStack. Each request carriesX-Ovh-Application(application key),X-Ovh-Consumer(consumer key),X-Ovh-Timestamp(server time fromGET /auth/time, offset cached) andX-Ovh-Signature="$1$" + sha1_hex(secret + "+" + consumerKey + "+" + METHOD + "+" + fullUrl + "+" + body + "+" + timestamp). Why not OpenStack: an OpenStack user is project-wide with no narrower role, while an OVH consumer key is issued with access rules scoped to paths, soGET/POST/DELETE /cloud/project/{serviceName}/*is the narrowest credential that can create and delete an instance and a volume. Write this reason intoshapeand the README.Done looks like:
Files: src/cloud/providers.ts, src/cloud/declared.ts, a new src/cloud/ovh_sign.ts, forge.json, their tests.