| name | ovh |
| version | 1.0.0 |
| description | Manage OVHcloud services via API. Use when user asks about OVH domains, DNS records, VPS, cloud instances, dedicated servers, email, SSL certificates, or any OVH service management. Supports listing, creating, updating, and deleting resources. |
OVH
Manage OVHcloud services via the bundled ovh-cli.py script.
Setup
Store credentials in environment:
export OVH_ENDPOINT="ovh-ca"
export OVH_APP_KEY="your-app-key"
export OVH_APP_SECRET="your-app-secret"
export OVH_CONSUMER_KEY="your-consumer-key"
Get credentials:
- Go to https://ca.api.ovh.com/createToken/ (or eu/us variant)
- Create application with desired permissions
- Validate the consumer key via the provided URL
Endpoints: ovh-eu, ovh-ca, ovh-us, soyoustart-eu, soyoustart-ca, kimsufi-eu, kimsufi-ca
Usage
The script is at scripts/ovh-cli.py. Commands:
ovh-cli.py me
ovh-cli.py domains
ovh-cli.py domain <domain>
ovh-cli.py domain <domain> renew
ovh-cli.py dns <domain>
ovh-cli.py dns <domain> get <id>
ovh-cli.py dns <domain> create --type A --subdomain www --target 1.2.3.4 [--ttl 300]
ovh-cli.py dns <domain> update <id> --target 5.6.7.8
ovh-cli.py dns <domain> delete <id>
ovh-cli.py dns <domain> refresh
ovh-cli.py vps
ovh-cli.py vps <name>
ovh-cli.py vps <name> status
ovh-cli.py vps <name> reboot
ovh-cli.py vps <name> start
ovh-cli.py vps <name> stop
ovh-cli.py vps <name> ips
ovh-cli.py cloud
ovh-cli.py cloud <project> instances
ovh-cli.py cloud <project> instance <id>
ovh-cli.py dedicated
ovh-cli.py dedicated <name>
ovh-cli.py dedicated <name> reboot
ovh-cli.py ssl
ovh-cli.py ssl <id>
ovh-cli.py bills [-- N]
ovh-cli.py orders [-- N]
Common Patterns
Check domain expiry:
ovh-cli.py domain pushp.ovh renew
Add DNS record:
ovh-cli.py dns pushp.ovh create --type A --subdomain api --target 203.0.113.50
ovh-cli.py dns pushp.ovh refresh
Manage VPS:
ovh-cli.py vps myvps status
ovh-cli.py vps myvps reboot
Notes
- DNS changes require
refresh to apply
- Use
--json flag for machine-readable output
- Some operations are async; check status with subsequent calls