| 1 |
#%# Align the equal signs after substitution |
| 2 |
CLEVIS-ENCRYPT-@PIN@(1) |
| 3 |
======================= |
| 4 |
:doctype: manpage |
| 5 |
|
| 6 |
|
| 7 |
== NAME |
| 8 |
|
| 9 |
clevis-encrypt-@pin@ - Encrypts using a @@ policy |
| 10 |
|
| 11 |
== SYNOPSIS |
| 12 |
|
| 13 |
*clevis encrypt @pin@* CONFIG < PT > JWE |
| 14 |
|
| 15 |
== OVERVIEW |
| 16 |
|
| 17 |
The *clevis encrypt @pin@* command encrypts using a @@ policy. |
| 18 |
Its only argument is the JSON configuration object. |
| 19 |
|
| 20 |
#%# And so on ... |
| 21 |
|
| 22 |
Encrypting data using the @pin@ pin works like this: |
| 23 |
|
| 24 |
$ clevis encrypt @pin@ '{"@mand1@":"@@","@mand2":"@@"}' < PT > JWE |
| 25 |
|
| 26 |
To decrypt the data, just pass it to the *clevis decrypt* command: |
| 27 |
|
| 28 |
$ clevis decrypt < JWE > PT |
| 29 |
|
| 30 |
== CONFIG |
| 31 |
|
| 32 |
This command uses the following configuration properties: |
| 33 |
|
| 34 |
#%# Keep this in sync with the short help in clevis-encrypt-@pin@ |
| 35 |
|
| 36 |
* *@mand1@* (string) : |
| 37 |
@@ (REQUIRED) |
| 38 |
|
| 39 |
* *@mand2@* (string) : |
| 40 |
@@ (REQUIRED) |
| 41 |
|
| 42 |
* *@opt1@* (string) : |
| 43 |
@@ (default: @@) |
| 44 |
|
| 45 |
== BUGS |
| 46 |
|
| 47 |
#%# List any flaws and gotchas here. |
| 48 |
|
| 49 |
== SEE ALSO |
| 50 |
|
| 51 |
link:clevis-decrypt.1.adoc[*clevis-decrypt*(1)] |