Where to find an existing Swift container name?

I’m currently trying to connect to a Swift storage by the Swiss company Infomaniak.
However I’m always getting the following error.

Fatal: unable to open repo at swift:fileserver:/default/Backup 1/restic: conn.Authenticate: Bad Request

What I’m trying to achieve is the following:

  1. Backup my servers with restic to my NAS.
  2. Sync the restic repo to the Swift storage as an offsite backup.
  3. Access the restic repo in the Swift storage from my notebook or any other device I have access to after an incident.

Step one and two are working and I’m able to access the restic repository when I’m mounting it locally with rclone first but that seems to me a bit inefficient.

One thing I can’t figure out is the container name, what could that be?

The rclone config looks like this:

[swissbackup]
type = swift
env_auth = false
user = SBI-XXX
key = password
auth = https://swiss-backup02.infomaniak.com/identity/v3
tenant = sb_project_SBI-XXX
tenant_domain = default
domain = default
region = RegionOne
storage_url =
auth_version =

And the script to test restic like this:

#!/bin/bash
export RESTIC_REPOSITORY="swift:fileserver:/default/Backup 1/restic"
export RESTIC_PASSWORD=password
export OS_AUTH_URL="https://swiss-backup02.infomaniak.com/identity/v3"
export OS_USERNAME="SBI-XXX"
export OS_PASSWORD="password"
export OS_PROJECT_NAME="sb_project_SBI-XXX"
export OS_REGION_NAME="RegionOne"
#restic mount /mnt/swissbackup
restic snapshots --host host
#!/bin/bash
export RESTIC_REPOSITORY="swift:default:/Backup 1/restic"
export RESTIC_PASSWORD=password
export OS_AUTH_URL="https://swiss-backup02.infomaniak.com/identity/v3"
export OS_USERNAME="SBI-XXX"
export OS_PASSWORD="password"
export OS_USER_DOMAIN_NAME=default
#restic mount /mnt/swissbackup
restic snapshots --host host

I was able to solve this with the help of the Infomaniak support.
The missing environment variable was the OS_USER_DOMAIN_NAME.
In addition the repository path was wrong.
The container name is default and is actually the start of the file system as well.
So default isn’t needed anymore inside the path.