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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.