tape: add --kdf parameter to create key api

This commit is contained in:
Dietmar Maurer
2021-01-20 07:49:35 +01:00
parent 9a045790ed
commit e5b6c93323
3 changed files with 20 additions and 3 deletions

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,