Swift is the object storage service in Openstack.
There is Amazon S3 API compatibility in swift and the only thing you need to do is to create ec2 credentials in Openstack. Using the Openstack cli run the following command to make it happen.
openstack ec2 credentials create
Below is an example s3cmd config
access_key = 00000000000000000000000000000
secret_key = 00000000000000000000000000000
host_base = swift.elastx.cloud
host_bucket = swift.elastx.cloud
use_https = True