
It’s not really clear from the command line
Generate a dummy key for the exercise
$ ceph auth get-or-create client.dummy mon 'allow r' osd 'allow rwx pool=dummy'
[client.dummy]
key = AQAPiu1RCMb4CxAAmP7rrufwZPRqy8bpQa2OeQ==
Verify that the key is present:
$ ceph auth list
installed auth entries:
...
client.dummy
key: AQAPiu1RCMb4CxAAmP7rrufwZPRqy8bpQa2OeQ==
caps: [mon] allow r
caps: [osd] allow rwx pool=dummy
...
Then grant more permission on the mon:
$ ceph auth caps client.dummy mon 'allow rwx' osd 'allow rwx pool=dummy'
updated caps for client.dummy
Verify that the change has been applied:
$ ceph auth list
installed auth entries:
client.dummy
key: AQAPiu1RCMb4CxAAmP7rrufwZPRqy8bpQa2OeQ==
caps: [mon] allow rwx
caps: [osd] allow allow rwx pool=dummy
Hope it helps!