Useful Commands
You may define environment variables to simplify Swift command calls.
# export ST_AUTH=http://swift.lan:8080/auth/v1.0
# export ST_KEY=testing
# export ST_USER=test:tester
Show information about a Swift account:
# swift stat
List containers
# swift list
List objects inside a container
# swift list container1
Upload a file
# swift upload container1 afile
Set a metadata for container or object
# swift post -m Bacula:Pass container1
# swift post -m Bacula:Pass container1 object1
Set an ACL data for container
# swift post --read-acl=www container1
# swift post --write-acl=www container1
For more information, please refer to: https://docs.openstack.org/python-swiftclient/latest/cli/index.html#swift-usage
Go back to: Swift Object Plugin: Operations.