# openstack.object_store.v1.account

## The Account Class

The `Account` class inherits from `Resource`.

class openstack.object_store.v1.account.Account(metadata=None, **attrs)

  Process and save metadata known at creation stage

  base_path = '/'

    The base part of the URI for this resource.

  allow_fetch = True

    Allow get operation for this resource.

  allow_commit = True

    Allow update operation for this resource.

  allow_head = True

    Allow head operation for this resource.

  account_bytes_used

    The total number of bytes that are stored in Object Storage for the account.

  account_container_count

    The number of containers.

  account_object_count

    The number of objects in the account.

  meta_temp_url_key

    The secret key value for temporary URLs. If not set, this header is not returned by this operation.

  meta_temp_url_key_2

    A second secret key value for temporary URLs. If not set, this header is not returned by this operation.

  timestamp

    The timestamp of the transaction.

  has_body = False

    Do responses for this resource have bodies

  requires_id = False

    Do calls for this resource require an id

  set_temp_url_key(proxy, key, secondary=False)

    Set the temporary url key for the account.

    Parameters:

      - proxy (`Proxy`) – The proxy to use for making this request.

      - key – Text of the key to use.

      - secondary (bool) – Whether this should set the secondary key. (defaults to False)

this page last updated: 2026-01-16 23:06:19

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