blob: 2801b0502753c36af5bac63be854d5d9b885194d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$ ceph-authtool kring --create-keyring --mode 0644
creating kring
$ ceph-authtool kring --list
$ ceph-authtool kring --gen-key
# cram makes matching escape-containing lines with regexps a bit ugly
$ ceph-authtool kring --list
[client.admin]
\\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
# synonym
$ ceph-authtool kring -l
[client.admin]
\\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
$ cat kring
[client.admin]
\\tkey = [a-zA-Z0-9+/]+=* \(esc\) (re)
|