swift client tool allows you to easily list containers and objects within your OpenStack Storage account.
Log in to a computer or server that has the
swift client package installed.
Carry out the following to list objects within the OpenStack Storage environment:
Listing all objects in a container
preceding recipes, we uploaded a small number of files. To simply list the objects within our
test container, we issue the following command:
swift -V 2.0 -A http://172.16.0.1:5000/v2.0/ -U cookbook:demo -K openstack list test
This will show output similar to the following:
Listing specific ...