rgw-policy-test(8)

RGW-POLICY-TEST(8) Ceph RGW-POLICY-TEST(8)

NAME

rgw-policy-test - test evaluation of bucket policy

SYNOPSIS

rgw-policy-test
[-e key*=*value]... [-t tenant] [-R resource] [-I identity] action filename

DESCRIPTION

This utility reads a policy from a file or stdin and evaluates it against the supplied identity, resource, action, and request context (the key/value pairs evaluated by conditions.) The utility will print a trace of evaluating the policy and the effect of its evaluation.

On error it will print a message and return non-zero.

OPTIONS

-t *tenant*, --tenant *tenant*
Specify tenant as the tenant. If not provided, the default (empty) tenant is used.

-e *key*=*value*, --environment *key*=*value*
Add (key, value) to the environment for evaluation. May be specified multiple times.

-I *SCHEMA:STRING*, --identity *SCHEMA:STRING*
Specify identity as the identity whose access is to be checked.

-R *ARN*, --resource *ARN*
Specify ARN as the resource for which to check access.

*action*
Use action as the action to check.

*filename*
Read the policy from filename, or - for standard input.

AVAILABILITY

rgw-policy-test is part of Ceph, a massively scalable, open-source, distributed storage system. Please refer to the Ceph documentation at <https://docs.ceph.com/> for more information.

SEE ALSO

radosgw <>(8)

Copyright

2010-2014, Inktank Storage, Inc. and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0)

November 17, 2026 dev