Configure OVH Object Storage as a Target
This page describes how to create a OVH Object Storage bucket / container on the OVH Public Cloud and how to configure the bucket to use as a Target for Trilio for Kubernetes
Here are the instruction to follow for creating a OVH Object Storage bucket/container:
- Click on the Object Storage option from the left pane and create a new Object Storage Container e.g.
demo-ovh-s3-bucket

OVH Object Storage Container list
- Select the
S3 Users
tab and create a new user and provideAdministrator
to the new user. Make sure to save thePassword
generated for the user. You will need this password when you are going tosource
the Openstack'sopenrc.sh
file.

OVH S3 Users list
- Go to the
Users & Roles
section, click on three vertical dots to select the optionDownload Openstack's RC file

Download the Openstack's RC file for the above created user
- Now, you have
openrc.sh
file, you can follow the Getting Started with the Swift S3 API guide provided by OVH to generate theAccess key
andSecret key
to access the OVH Object Storage Container. Use the password generated for the user create above. - After installing the prerequisites of
python-openstackclient
, you can get the access and secret key using below command:
openstack ec2 credentials list

Access key and Secret key to create a target secret
- Now install the
awscli
andawscli-plugin-endpoint
package to configure the AWS CLI. - After you create
~/.aws/credentials
with aboveaccessKey
andsecretKey
and~/.aws/config
file with correctRegion Name
, you have the s3.endpoint_url to create the OVH Object Storage Container as a Target in T4K. - Run below command to list the Object Storage container.
aws --profile default s3 ls

OVH Container is accessible using awscli
- Now, you have
credentialSecret
,url
,region
and S3bucketName
to proceed with the target creation. - Follow the Example 3 - OVH Object Storage as Target using Swift S3 API section to create the target.