Description
Set or show policy of an object container.
Syntax
object_container --policy [--set] [--policy_type <readonly|readwrite|none>] --name <user name> [--show] --name <user name>
Where
--set Set a policy to the user.
--show Show a policy to the user.
--policy_type Valid values are "readonly" or "readwrite" or "none".
--name user name
Result
> object_container --policy --show --name backup_user
Object container user policy: readwrite
Description
Displays the list of object_container related options that can be used as a reference when using the QoreStor CLI.
Syntax
object_container --help
Result
object_container --show [--verbose]
[--endpoint]
object_container --add [--quota <Quota value in GiB or TiB>] [--use_http <yes|no>]
object_container --update [--quota <Quota value in GiB or TiB>] [--use_http <yes|no>]
object_container --encryption [--set <ON | OFF>]
[--mode < static | internal >]
[--interval <7 days to 70 years>]
object_container --delete_data
object_container --delete
object_container --setpassphrase
object_container --bucket [--create] [--set-lock] [--set-retention] [--show] [--list] [--enable-object-lock] [--name <bucket name>] [--delete] [--name <bucket name>] [--name <bucket name>] [--mode <compliance|governance|none>] [--valid-days <1 to 36500 days>] [--valid-years <1 to 100 years>] [--name <bucket name>] [--retention-mode <compliance|governance>] [--valid-days <1 to 36500 days>] [--valid-years <1 to 100 years>] [--object-prefix <anything>] [--name <bucket name>]
object_container --policy [--set] [--policy_type <readonly|readwrite|none>] --name <user name>
[--show] --name <user name>
object_container --help
object_container <command> <command-arguments>
<command> can be one of:
--show Displays the current list of object_container.
--add Adds a new object_container.
--update updates an object_container.
--encryption updates encryption settings of an object_container.
--delete_data Deletes object_container container and its data.
--delete Deletes an existing object_container.
--setpassphrase sets passphrase to an object_container.
--bucket Create, delete or list buckets in an object_container.
--policy Set or show policy of object_container user.
For command-specific help, please type object_container --help <command>
eg:
object_container --help show
This topic introduces the set of QoreStor CLI commands that allow you to manage and display object direct settings for a QoreStor server.
This topic introduces the object_direct command usage:
- object_direct --show [options]
- object_direct --update [options]
- object_direct --update_sentinal
- object_direct --help