CLI

Beware! The python-swiftclient help (swift post --help) does not have correct information regarding ACL syntax! A bug fix has already submitted, but don't rely on it during the exam! Be sure to the follow the ACL syntax here or official community documentation at https://docs.openstack.org/ocata/!

Let's source our openrc-operations file:

$ source openrc-operations

Verify that the proper variables are set and you are scoped to the operations project:

$ export | grep OS

Let's begin by listing our current containers. We should be able to see our container-cli container we created in the previous section:

$ swift list

To view the ACLs for this container, run the following command:

$ swift stat container-cli

We should see output similar to ...

Get Preparing for the Certified OpenStack Administrator Exam now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.