Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:


Image Modified


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:

Code Block
languagebash
titleSwift CLI usage
[ffornari@tb-cloud-ui test_clients]$ source admin-openrc-v3.

...

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

sh 

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

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

...

duplicity

test

 list

pippo

[ffornari@tb-cloud-ui test_clients]$