]> git.proxmox.com Git - ceph.git/blob - ceph/src/test/cli/ceph-authtool/cap-overwrite.t
update sources to v12.2.5
[ceph.git] / ceph / src / test / cli / ceph-authtool / cap-overwrite.t
1 $ ceph-authtool kring --create-keyring --gen-key --mode 0644
2 creating kring
3
4 $ ceph-authtool --cap osd 'allow rx pool=swimming' kring
5 $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
6 \tcaps osd = "allow rx pool=swimming" (esc)
7
8 # TODO it seems --cap overwrites all previous caps; is this wanted?
9 $ ceph-authtool --cap mds 'allow' kring
10 $ ceph-authtool kring --list|grep -E '^[[:space:]]caps '
11 \tcaps mds = "allow" (esc)