3 ===================================================
4 rgw-policy-check -- verify syntax of bucket policy
5 ===================================================
7 .. program:: rgw-policy-check
12 | **rgw-policy-check**
13 -t *tenant* [ *filename* ... ]
19 This program reads one or more files containing bucket policy
20 and determines if it is syntactically correct.
21 It does not check to see if the policy makes sense;
22 it only checks to see if the file would be accepted
23 by the policy parsing logic inside
26 More than one filename may be specified. If no files are
27 given, the program will read from stdin.
29 On success, the program will say nothing. On failure,
30 the program will emit a error message indicating the
31 problem. The program will terminate with non-zero exit
32 status if one or more policies could not be read or parsed.
37 .. option: -t *tenant*
39 Specify *tenant* as the tenant. This is required by the
40 policy parsing logic and is used to construct the internal
41 state representation of the policy.
46 **rgw-policy-check** is part of Ceph, a massively scalable, open-source,
47 distributed storage system. Please refer to the Ceph documentation at
48 http://ceph.com/docs for more information.
53 :doc:`radosgw <radosgw>`\(8)
55 .. _Bucket Policies: ../../radosgw/bucketpolicy.rst