Skip to main content

vserver object-store-server policy show

Contributors
Suggest changes

Show the policy

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

Description

The vserver object-store-server policy show command displays information about the object store policy.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver Name

If you specify this parameter, the command displays information on the object store server policies for the specified Vserver.

[-policy <TextNoCase>] - Policy Name

If you specify this parameter, the command displays information on the object store server policies that match the specified policy name.

[-is-read-only {true|false}] - Is Read-Only?

If you specify this parameter, the command displays information on the object store server policies that match the specified read only field.

[-comment <text>] - Comment

If you specify this parameter, the command displays information on the object store server policies that match the specified comment.

Examples

The following example displays information for all object store policies in admin privilege:

cluster1::> vserver object-store-server policy show
    Vserver     Name               Is Read-Only Comment
    ----------- ------------------ ------------ ----------------
    vs1         FullAccess         true         Read Only Policy: To allow full access to S3 resources
    vs1         NoS3Access         true         Read Only Policy: To deny access to all S3 resources
    vs1         Policy_1           false        Read_access_for_bucket1
    vs1         Policy_2           false        Read_access_for_bucket2
    vs1         ReadOnlyAccess     true         Read Only Policy: To allow read-only access to S3 resources
    5 entries were displayed.

The following example displays information for a particular object store policy associated with Vserver vs1:

cluster1::> vserver object-store-server policy show -policy Policy_1
    Vserver     Name               Is Read-Only Comment
    ----------- ------------------ ------------ ----------------
    vs1         Policy_1           false        Read_access_for_bucket1