Support storing image encryption keys in Vault
This commit is contained in:
+8
-7
@@ -42,12 +42,13 @@ static const char* help_text =
|
||||
"\n"
|
||||
"vitastor-cli create -s|--size SIZE [OPTIONS] <name>\n"
|
||||
" Create an image. Options:\n"
|
||||
" -s|--size SIZE New image size in bytes or with a K/M/G/T unit suffix.\n"
|
||||
" -p|--pool POOL Specify pool for the new image (may be omitted if there is only 1 pool).\n"
|
||||
" --parent PARENT Create a copy-on-write image clone based on PARENT (or PARENT@SNAPSHOT).\n"
|
||||
" If parent is not a snapshot, it must be a read-only image.\n"
|
||||
" --enc-key random Generate a new random AES-256-XTS encryption key for the new image.\n"
|
||||
" --enc-key HEX Set a specified AES-256-XTS key (64 bytes in hex) for the new image.\n"
|
||||
" -s|--size SIZE New image size in bytes or with a K/M/G/T unit suffix.\n"
|
||||
" -p|--pool POOL Specify pool for the new image (may be omitted if there is only 1 pool).\n"
|
||||
" --parent PARENT Create a copy-on-write image clone based on PARENT (or PARENT@SNAPSHOT).\n"
|
||||
" If parent is not a snapshot, it must be a read-only image.\n"
|
||||
" --enc-key random Generate a new random AES-256-XTS encryption key for the new image.\n"
|
||||
" --enc-key HEX Set a specified AES-256-XTS key (64 bytes in hex) for the new image.\n"
|
||||
" --enc-key vault:ID Use an encryption key from an external Vault secret with specified ID.\n"
|
||||
"\n"
|
||||
"vitastor-cli create --snapshot <snapshot> [OPTIONS] <image>\n"
|
||||
"vitastor-cli snap-create [OPTIONS] <image>@<snapshot>\n"
|
||||
@@ -55,7 +56,7 @@ static const char* help_text =
|
||||
" Options:\n"
|
||||
" -p|--pool POOL Move image to pool POOL, leaving the snapshot in the old pool.\n"
|
||||
" --enc-key random Change image encryption key to a new random AES-256-XTS key.\n"
|
||||
" --enc-key HEX Change image encryption key to a specified key or to an empty key.\n"
|
||||
" --enc-key KEY Change image encryption key to a specified key, Vault key or to an empty key.\n"
|
||||
" By default, the image retains its old key when taking a snapshot.\n"
|
||||
"\n"
|
||||
"vitastor-cli modify <name> [--rename <new-name>] [--resize <size>] [--readonly | --readwrite] [-f|--force] [--down-ok]\n"
|
||||
|
||||
Reference in New Issue
Block a user