Step one is to figure out how to connect! Unfortunately OVH does not make it quite as easy as you expect. There are many pages of documentation, but there are some pitfalls along the way.
Pitfall #1
If you are using S3 compatible storage, make sure you don't accidentally use the user-level permissions. User-level passwords are alpha-numeric using the full range of lowercase and uppercase letters. They are generated in the Project Management | Users & Roles section, in the user's right side menu. This is the wrong secret.
S3 secrets are more like a SHA1 sum, alphanumeric with lowercase letters from a to f. You can obtain the S3 secret by opening the Object Storage area of the public cloud dashboard, click on the Users tab (important!), find the correct S3-compatible user. The access key is shown directly in the list, while the secret is hidden behind the side menu "View Secret Key" option.
The access keys appear to change in the dashboard from time to time as well, yet once you have a pair working, they continue to work even if the UI shows differently.
Pitfall #2
I'm also attempting to fine tune permissions, so in that direction I assumed I would need the "awscli" software package to fully access it. Fortunately, this is package on Debian already, so a quick "apt-get install awscli" was enough to get it installed along with all its dependencies.
Unfortunaely, I was using Debian Bookworm, with awscli version 2.9.19-1. This version has bugs somewhere between the config and the actual endpoint URL that gets used. I wanted to use s3.bhs.io.cloud.ovh.net as the region+domain, but the software insisted on using *.bhs.amazonaws.com.
I thought I was doing something wrong, but discovered it was just bugs when I tried from a Debian Trixie machine running awscli version 2.23.6-1.
In the end, I was able to successfully connect to OVH's S3 compatible object storage with these files:
My .aws/config file:
[profile ovh-bhs] region = bhs endpoint_url = https://s3.bhs.io.cloud.ovh.net/ services = ovh-bhs-services[services ovh-bhs-services] s3 = endpoint_url = https://s3.bhs.io.cloud.ovh.net/ signature_version = s3v4
s3api = endpoint_url = https://s3.bhs.io.cloud.ovh.net/
My .aws/credentials file:
[ovh-bhs] aws_access_key_id = sha1-access-key aws_secret_access_key = sha1-secret-key
Allows the following command to work:
aws s3api list-buckets --profile ovh-bhs