api: acme: move description to the top

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-11-13 12:22:59 +01:00
parent c8dba92e1b
commit 0231e3043b

View File

@ -108,8 +108,8 @@ __PACKAGE__->register_method ({
name => get_standard_option('pve-acme-account-name'), name => get_standard_option('pve-acme-account-name'),
contact => get_standard_option('pve-acme-account-contact'), contact => get_standard_option('pve-acme-account-contact'),
tos_url => { tos_url => {
type => 'string',
description => 'URL of CA TermsOfService - setting this indicates agreement.', description => 'URL of CA TermsOfService - setting this indicates agreement.',
type => 'string',
optional => 1, optional => 1,
}, },
directory => get_standard_option('pve-acme-directory-url', { directory => get_standard_option('pve-acme-directory-url', {
@ -117,14 +117,14 @@ __PACKAGE__->register_method ({
optional => 1, optional => 1,
}), }),
'eab-kid' => { 'eab-kid' => {
type => 'string',
description => 'Key Identifier for External Account Binding.', description => 'Key Identifier for External Account Binding.',
type => 'string',
requires => 'eab-hmac-key', requires => 'eab-hmac-key',
optional => 1, optional => 1,
}, },
'eab-hmac-key' => { 'eab-hmac-key' => {
type => 'string',
description => 'HMAC key for External Account Binding.', description => 'HMAC key for External Account Binding.',
type => 'string',
requires => 'eab-kid', requires => 'eab-kid',
optional => 1, optional => 1,
}, },
@ -386,24 +386,24 @@ __PACKAGE__->register_method ({
additionalProperties => 1, additionalProperties => 1,
properties => { properties => {
termsOfService => { termsOfService => {
description => 'ACME TermsOfService URL.',
type => 'string', type => 'string',
optional => 1, optional => 1,
description => 'ACME TermsOfService URL.',
}, },
externalAccountRequired => { externalAccountRequired => {
description => 'EAB Required'
type => 'boolean', type => 'boolean',
optional => 1, optional => 1,
description => 'EAB Required'
}, },
website => { website => {
description => 'URL to more information about the ACME server.'
type => 'string', type => 'string',
optional => 1, optional => 1,
description => 'URL to more information about the ACME server.'
}, },
caaIdentities => { caaIdentities => {
description => 'Hostnames referring to the ACME servers.'
type => 'string', type => 'string',
optional => 1, optional => 1,
description => 'Hostnames referring to the ACME servers.'
}, },
}, },
}, },