]> git.proxmox.com Git - ceph.git/blob - ceph/doc/man/8/rgw-policy-check.rst
update ceph source to reef 18.1.2
[ceph.git] / ceph / doc / man / 8 / rgw-policy-check.rst
1 :orphan:
2
3 ===================================================
4 rgw-policy-check -- verify syntax of bucket policy
5 ===================================================
6
7 .. program:: rgw-policy-check
8
9 Synopsis
10 ========
11
12 | **rgw-policy-check**
13 -t *tenant* [ *filename* ... ]
14
15
16 Description
17 ===========
18
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
24 :program:`radsogw`.
25
26 More than one filename may be specified. If no files are
27 given, the program will read from stdin.
28
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.
33
34 Options
35 =======
36
37 .. option: -t *tenant*
38
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.
42
43 Availability
44 ============
45
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.
49
50 See also
51 ========
52
53 :doc:`radosgw <radosgw>`\(8)
54
55 .. _Bucket Policies: ../../radosgw/bucketpolicy.rst