summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniil Fedotov <dfedotov@pivotal.io>2017-07-04 09:53:30 +0100
committerDaniil Fedotov <dfedotov@pivotal.io>2017-07-04 09:53:30 +0100
commit3eb114eb20019e57ba02f4c3160158cc8413fd4a (patch)
tree0a9d2f728c91f5c0ced4fd7f542762c414a2c3e7 /docs
parentb7f3904d2612b6527837e2786d245fe57c5121e8 (diff)
downloadrabbitmq-server-git-3eb114eb20019e57ba02f4c3160158cc8413fd4a.tar.gz
Update man entries for encode and decode commands correspond to commands API.
Diffstat (limited to 'docs')
-rw-r--r--docs/rabbitmqctl.833
1 files changed, 10 insertions, 23 deletions
diff --git a/docs/rabbitmqctl.8 b/docs/rabbitmqctl.8
index e9bb7fd401..7a8497a89b 100644
--- a/docs/rabbitmqctl.8
+++ b/docs/rabbitmqctl.8
@@ -1811,34 +1811,14 @@ floating point number.
Values lower than 1.0 can be dangerous and should be used carefully.
.El
.\" ------------------------------------
-.It Cm encode Oo Fl -decode Oc Oo Ar value Oc Oo Ar passphrase Oc Oo Fl -list-ciphers Oc Oo Fl -list-hashes Oc Oo Fl -cipher Ar cipher Oc Oo Fl -hash Ar hash Oc Op Fl -iterations Ar iterations
+.It Cm encode Ar value Ar passphrase Oo Fl -cipher Ar cipher Oc Oo Fl -hash Ar hash Oc Op Fl -iterations Ar iterations
.Bl -tag -width Ds
-.It Fl -decode
-Flag to decrypt the input value.
-.Pp
-For example:
-.sp
-.Dl rabbitmqctl encode --decode '{encrypted,<<"...">>}' mypassphrase
.It Ar value Ar passphrase
-Value to encrypt/decrypt and passphrase.
+Value to encrypt and passphrase.
.Pp
For example:
.sp
.Dl rabbitmqctl encode '<<"guest">>' mypassphrase
-.sp
-.Dl rabbitmqctl encode --decode '{encrypted,<<"...">>}' mypassphrase
-.It Fl -list-ciphers
-Flag to list the supported ciphers.
-.Pp
-For example:
-.sp
-.Dl rabbitmqctl encode --list-ciphers
-.It Fl -list-hashes
-Flag to list the supported hash algorithms.
-.Pp
-For example:
-.sp
-.Dl rabbitmqctl encode --list-hashes
.It Fl -cipher Ar cipher Fl -hash Ar hash Fl -iterations Ar iterations
Options to specify the encryption settings.
They can be used independently.
@@ -1848,7 +1828,7 @@ For example:
.Dl rabbitmqctl encode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 '<<"guest">>' mypassphrase
.El
.\" ------------------------------------
-.It Cm decode Ar value Ar passphrase
+.It Cm decode Ar value Ar passphrase Oo Fl -cipher Ar cipher Oc Oo Fl -hash Ar hash Oc Op Fl -iterations Ar iterations
.Bl -tag -width Ds
.It Ar value Ar passphrase
Value to decrypt (as produced by the encode command) and passphrase.
@@ -1856,6 +1836,13 @@ Value to decrypt (as produced by the encode command) and passphrase.
For example:
.sp
.Dl rabbitmqctl decode '{encrypted, <<"...">>}' mypassphrase
+.It Fl -cipher Ar cipher Fl -hash Ar hash Fl -iterations Ar iterations
+Options to specify the decryption settings.
+They can be used independently.
+.Pp
+For example:
+.sp
+.Dl rabbitmqctl decode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 '{encrypted,<<"...">>} mypassphrase
.El
.\" ------------------------------------
.It Cm list_hashes