Skip to main content

vserver object-store-server policy create

Contributors
Suggest changes

Create a policy

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver object-store-server policy create command creates an object store policy.

Parameters

-vserver <Vserver Name> - Vserver Name

This parameter specifies the name of the Vserver on which to create the object store policy. The Vserver must already exist.

-policy <TextNoCase> - Policy Name

This parameter specifies the name of the object store policy.

[-comment <text>] - Comment

This optional parameter specifies a text comment for the object store policy.

Examples

The following example creates an object store policy named Policy_1 for Vserver vs1:

cluster1::> vserver object-store-server policy create -vserver vs1 -policy Policy_1 -comment "ReadAccessForBucket1"