Swift is a very easy-to-use Object Storage client.

It is sufficient to log into the Cloud@CNAF dashboard at tb-cloud-dashboard.cr.cnaf.infn.it and download the openrc file from the upper right drop down menu option:



If you need to install the swift client, just do pip install python-swiftclient. Then source the openrc file with your Openstack credentials and you are ready to use Swift client:

Swift CLI usage
[ffornari@tb-cloud-ui test_clients]$ source admin-openrc-v3.sh 

Please enter your OpenStack Password for project admin as user ffornari: 

[ffornari@tb-cloud-ui test_clients]$ swift list

pippo

[ffornari@tb-cloud-ui test_clients]$


  • No labels