The OpenStack command line tool can be installed using most Package managers as outlined here but the simplest install process in most cases is to use pip:
Basic Authentication and Interaction
The first thing you have to do is to authenticate against the specific Object Storage cluster you want to interact with. For our examples we will be using the Dallas 05 cluster.
- Access the Object Storage Screen
- Click the View Credentials link (record your credentials).
The command will return your Auth Token and Storage URL for interacting with Object Storage.
Create a new Container
List Containers Example
List Objects in a Container
Delete Object in a Container
In this example we are deleting the file "l8dcmqa-2014-02-19-0239.jpg" from the 'images' container in Object Storage
In this example we are uploading the file 'metadata.json' to the Container 'testing'. The output will be the name of the file you uploaded