I'm trying to connect to a swift backend. I have a env file to export some variables.
Here is the content of my env file :
# With the addition of Keystone we have standardized on the term **project**
# as the entity that owns the resources.
if [ -z "$OS_USER_DOMAIN_NAME" ]; then unset OS_USER_DOMAIN_NAME; fi
if [ -z "$OS_PROJECT_DOMAIN_ID" ]; then unset OS_PROJECT_DOMAIN_ID; fi
# unset v2.0 items in case set
# In addition to the owning entity (tenant), OpenStack stores the entity
# performing the action as the **user**.
# With Keystone you pass the keystone password.
# If your configuration has multiple regions, we set that information here.
# OS_REGION_NAME is optional and only valid in certain environments.
# Don't leave a blank variable, unset it if it was empty
if [ -z "$OS_REGION_NAME" ]; then unset OS_REGION_NAME; fi
In my config file I have
type = swift
env_auth = true
auth = https://api.pub1.infomaniak.cloud/identity/v3
auth_version = 3
When I run source swift.sh I can then access to swift: backend.
But using this way, I must run source swift.sh first. That means that the backend will not be reacheable after a reboot.
I tried to put this info into the config file, as shown in the doc
type = swift
user = $OS_USERNAME
key = $OS_PASSWORD
auth = $OS_AUTH_URL
tenant = $OS_TENANT_NAME
But this doen't work, because I have this error
rclone lsd remote:
2022/03/05 11:06:23 Failed to create file system for "test:": Bad Request
How can I put the info of swift.sh to rclone config ?
I'm sure it's not related to incorrect password because I copy paste the infos.