]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/JSONSchema.pm
JSONSchema: add fingerprint-sha256 standard option
[pve-common.git] / src / PVE / JSONSchema.pm
index 9c261841f4043203728d9d4a4035115b61d7ee01..c09a9f474a5413e7c1caa35bd5b9febdebf7eb91 100644 (file)
@@ -99,6 +99,12 @@ register_standard_option('extra-args', {
     optional => 1
 });
 
+register_standard_option('fingerprint-sha256', {
+    description => "Certificate SHA 256 fingerprint.",
+    type => 'string',
+    pattern => '([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}',
+});
+
 my $format_list = {};
 
 sub register_format {