5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-08 01:17:37 +03:00

cert: add public key type & size to JSON schema

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
This commit is contained in:
Alwin Antreich 2019-07-22 17:11:38 +02:00 committed by Thomas Lamprecht
parent afa3f36910
commit 96ab1135fe

View File

@ -78,6 +78,16 @@ PVE::JSONSchema::register_standard_option('pve-certificate-info', {
format => 'pem-certificate',
optional => 1,
},
'public-key-type' => {
type => 'string',
description => 'Certificate\'s public key algorithm',
optional => 1,
},
'public-key-bits' => {
type => 'integer',
description => 'Certificate\'s public key size',
optional => 1,
},
},
});