ONTAP 9.15.1 commands

vserver object-store-server policy statement show

Show Policy Statements

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

Description

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

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 policy statements for the specified Vserver.

[-policy <TextNoCase>] - Policy Name

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

[-index <integer>] - Statement Index

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

[-effect {deny|allow}] - Allow or Deny Access

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

[-actions <Action>,…​] - Policy Actions

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

[-resource <text>,…​] - Buckets or Objects

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

[-sid <SID>] - Statement Identifier

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

Examples

The following example displays information on object store server policy statements for Vserver vs1 and policy Policy_1:

cluster1::> vserver object-store-server policy statement show -vserver vs1 -policy Policy_1
Vserver   Policy       Index  Effect Actions          Resources
--------- ------------ ------ ------ ---------------- -----------------
vs1
          Policy_1          1 allow  ListBucket       *
          Policy_1          5 allow  GetObject,       bucket1/*
                                     PutObject,
                                     DeleteObject,
                                     ListBucket,
                                     GetBucketAcl,
                                     GetObjectAcl,
                                     ListAllMyBuckets
   Sid: FullAccesToBucket1
2 entries were displayed.

The following example displays detailed information of the object store server policy statement associated with Vserver vs1 and policy Policy_1:

cluster1::> vserver object-store-server policy statement show -vserver vs1 -policy Policy_1 -index 5
Vserver: vs1
      Policy: Policy_1
       Index: 5
      Effect: allow
     Actions: GetObject, PutObject, DeleteObject, ListBucket, GetBucketAcl, GetObjectAcl, ListAllMyBuckets
    Resource: bucket1/*
         Sid: FullAccesToBucket1
Top of Page