object

object

An object stores data content, such as documents, images, and so on. They can also store custom metadata with an object. Applies to Object Storage v1.

object create

Upload object to container

openstack object create
    [--name <name>]
    <container>
    <filename>
    [<filename> ...]
--name <name>

Upload a file and rename it. Can only be used when uploading a single object

container

Container for new object

filename

Local filename(s) to upload

This command is provided by the python-openstackclient plugin.

object delete

Delete object from container

openstack object delete <container> <object> [<object> ...]
container

Delete object(s) from <container>

object

Object(s) to delete

This command is provided by the python-openstackclient plugin.

object list

List objects

openstack object list
    [--delimiter <delimiter>]
    [--marker <marker>]
    [--end-marker <end-marker>]
    [--limit <num-objects>]
    [--long]
    [--all]
    <container>
--delimiter <delimiter>

Roll up items with <delimiter>

--marker <marker>

Anchor for paging

--end-marker <end-marker>

End anchor for paging

--limit <num-objects>

Limit the number of objects returned

--long

List additional fields in output

--all

List all objects in container (default is 10000)

container

Container to list

This command is provided by the python-openstackclient plugin.

object save

Save object locally

openstack object save [--file <filename>] <container> <object>
--file <filename>

Destination filename (defaults to object name); using ‘-‘ as the filename will print the file to stdout

container

Download <object> from <container>

object

Object to save

This command is provided by the python-openstackclient plugin.

object set

Set object properties

openstack object set --property <key =value> <container> <object>
--property <key=value>

Set a property on this object (repeat option to set multiple properties)

container

Modify <object> from <container>

object

Object to modify

This command is provided by the python-openstackclient plugin.

object show

Display object details

openstack object show <container> <object>
container

Display <object> from <container>

object

Object to display

This command is provided by the python-openstackclient plugin.

object unset

Unset object properties

openstack object unset --property <key> <container> <object>
--property <key>

Property to remove from object (repeat option to remove multiple properties)

container

Modify <object> from <container>

object

Object to modify

This command is provided by the python-openstackclient plugin.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.