tape: add --kdf parameter to create key api

This commit is contained in:
Dietmar Maurer committed 2021-01-20 15:43:19 +01:00
1 parent 9a045790ed
commit e5b6c93323
3 files changed
+20 -3

No files matched your search

+5
View File
@@ -19,6 +19,7 @@ use proxmox_backup::{
DRIVE_NAME_SCHEMA,
},
},
backup::Kdf,
config::tape_encryption_keys::complete_key_fingerprint,
};
@@ -83,6 +84,10 @@ async fn restore_key(
#[api(
input: {
properties: {
kdf: {
type: Kdf,
optional: true,
},
hint: {
description: "Password restore hint.",
type: String,