|
2083 | 2083 | </variablelist> |
2084 | 2084 | </listitem> |
2085 | 2085 | </varlistentry> |
| 2086 | + <varlistentry> |
| 2087 | + <!-- one-line formatting matters for rabbit_ctl_usage.erl code generation --> |
| 2088 | + <term><cmdsynopsis><command>encode</command> <arg choice="opt">--decode</arg> <arg choice="opt"><replaceable>value</replaceable></arg> <arg choice="opt"><replaceable>passphrase</replaceable></arg> <arg choice="opt">--list-ciphers</arg> <arg choice="opt">--list-hashes</arg> <arg choice="opt">--cipher <replaceable>cipher</replaceable></arg> <arg choice="opt">--hash <replaceable>hash</replaceable></arg> <arg choice="opt">--iterations <replaceable>iterations</replaceable></arg></cmdsynopsis> |
| 2089 | + </term> |
| 2090 | + <listitem> |
| 2091 | + <variablelist> |
| 2092 | + <varlistentry> |
| 2093 | + <term><cmdsynopsis><arg choice="opt">--decode</arg></cmdsynopsis></term> |
| 2094 | + <listitem> |
| 2095 | + <para> |
| 2096 | + Flag to decrypt the input value. |
| 2097 | + </para> |
| 2098 | + <para role="example-prefix">For example:</para> |
| 2099 | + <screen role="example">rabbitmqctl encode --decode '{encrypted,'<<"...">>}' mypassphrase</screen> |
| 2100 | + </listitem> |
| 2101 | + </varlistentry> |
| 2102 | + <varlistentry> |
| 2103 | + <term> |
| 2104 | + <cmdsynopsis> |
| 2105 | + <arg choice="opt"><replaceable>value</replaceable></arg> |
| 2106 | + <arg choice="opt"><replaceable>passphrase</replaceable></arg> |
| 2107 | + </cmdsynopsis> |
| 2108 | + </term> |
| 2109 | + <listitem> |
| 2110 | + <para> |
| 2111 | + Value to encrypt/decrypt and passphrase. |
| 2112 | + </para> |
| 2113 | + <para role="example-prefix">For example:</para> |
| 2114 | + <screen role="example">rabbitmqctl encode '<<"guest">>' mypassphrase</screen> |
| 2115 | + <screen role="example">rabbitmqctl encode --decode '{encrypted,'<<"...">>}' mypassphrase</screen> |
| 2116 | + </listitem> |
| 2117 | + </varlistentry> |
| 2118 | + <varlistentry> |
| 2119 | + <term><cmdsynopsis><arg choice="opt">--list-ciphers</arg></cmdsynopsis></term> |
| 2120 | + <listitem> |
| 2121 | + <para> |
| 2122 | + Flag to list the supported ciphers. |
| 2123 | + </para> |
| 2124 | + <para role="example-prefix">For example:</para> |
| 2125 | + <screen role="example">rabbitmqctl encode --list-ciphers</screen> |
| 2126 | + </listitem> |
| 2127 | + </varlistentry> |
| 2128 | + <varlistentry> |
| 2129 | + <term><cmdsynopsis><arg choice="opt">--list-hashes</arg></cmdsynopsis></term> |
| 2130 | + <listitem> |
| 2131 | + <para> |
| 2132 | + Flag to list the supported hash algorithms. |
| 2133 | + </para> |
| 2134 | + <para role="example-prefix">For example:</para> |
| 2135 | + <screen role="example">rabbitmqctl encode --list-hashes</screen> |
| 2136 | + </listitem> |
| 2137 | + </varlistentry> |
| 2138 | + <varlistentry> |
| 2139 | + <term> |
| 2140 | + <cmdsynopsis> |
| 2141 | + <arg choice="opt">--cipher <replaceable>cipher</replaceable></arg> |
| 2142 | + <arg choice="opt">--hash <replaceable>hash</replaceable></arg> |
| 2143 | + <arg choice="opt">--iterations <replaceable>iterations</replaceable></arg> |
| 2144 | + </cmdsynopsis> |
| 2145 | + </term> |
| 2146 | + <listitem> |
| 2147 | + <para> |
| 2148 | + Options to specify the encryption settings. They can be used independently. |
| 2149 | + </para> |
| 2150 | + <para role="example-prefix">For example:</para> |
| 2151 | + <screen role="example"> |
| 2152 | +rabbitmqctl encode --cipher blowfish_cfb64 --hash sha256 --iterations 10000 \ |
| 2153 | + '<<"guest">>' mypassphrase</screen> |
| 2154 | + </listitem> |
| 2155 | + </varlistentry> |
| 2156 | + </variablelist> |
| 2157 | + </listitem> |
| 2158 | + </varlistentry> |
2086 | 2159 | </variablelist> |
2087 | 2160 | </refsect2> |
2088 | 2161 | </refsect1> |
|
0 commit comments