mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
Plaintext keyring format is supposed to be user-friendly, so test it.
This commit is contained in:
parent
0d0e03e02c
commit
1d7460a96a
@ -9,3 +9,8 @@
|
||||
[client.admin]
|
||||
\tkey = AQAK7yxNeF+nHBAA0SgSdbs8IkJrxroDeJ6SwQ== (esc)
|
||||
\tauid = 18446744073709551615 (esc)
|
||||
|
||||
$ cat kring
|
||||
[client.admin]
|
||||
\tkey = AQAK7yxNeF+nHBAA0SgSdbs8IkJrxroDeJ6SwQ== (esc)
|
||||
\tauid = 18446744073709551615 (esc)
|
||||
|
@ -4,3 +4,9 @@
|
||||
$ cauthtool --cap osd 'allow rx pool=swimming' kring
|
||||
$ cauthtool kring --list|grep -P '^\tcaps '
|
||||
\tcaps osd = "allow rx pool=swimming" (esc)
|
||||
|
||||
$ cat kring
|
||||
[client.admin]
|
||||
\\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
|
||||
\\tauid = [0-9]{20} \(esc\) (re)
|
||||
\tcaps osd = "allow rx pool=swimming" (esc)
|
||||
|
@ -16,3 +16,8 @@
|
||||
[client.admin]
|
||||
\\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
|
||||
\\tauid = [0-9]{20} \(esc\) (re)
|
||||
|
||||
$ cat kring
|
||||
[client.admin]
|
||||
\\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
|
||||
\\tauid = [0-9]{20} \(esc\) (re)
|
||||
|
Loading…
Reference in New Issue
Block a user