// the backend mount is the model id, only one pki/tidy model will ever persist (the auto-tidy config)
@serviceversion;
@attr({
label:'Tidy ACME enabled',
labelDisabled:'Tidy ACME disabled',
mapToBoolean:'tidyAcme',
helperTextDisabled:'Tidying of ACME accounts, orders and authorizations is disabled',
helperTextEnabled:
'The amount of time that must pass after creation that an account with no orders is marked revoked, and the amount of time after being marked revoked or deactivated.',
detailsLabel:'ACME account safety buffer',
formatTtl:true,
})
acmeAccountSafetyBuffer;
@attr('boolean',{
label:'Tidy ACME',
defaultValue:false,
})
tidyAcme;
@attr('boolean',{
label:'Automatic tidy enabled',
defaultValue:false,
})
enabled;// auto-tidy only
@attr({
label:'Automatic tidy enabled',
labelDisabled:'Automatic tidy disabled',
mapToBoolean:'enabled',
helperTextEnabled:
'Sets the interval_duration between automatic tidy operations; note that this is from the end of one operation to the start of the next.',
helperTextDisabled:'Automatic tidy operations will not run.',
detailsLabel:'Automatic tidy duration',
formatTtl:true,
})
intervalDuration;// auto-tidy only
@attr('string',{
editType:'ttl',
helperTextEnabled:
'Specifies a duration that issuers should be kept for, past their NotAfter validity period. Defaults to 365 days (8760 hours).',
hideToggle:true,
formatTtl:true,
})
issuerSafetyBuffer;
@attr('string',{
editType:'ttl',
helperTextEnabled:
'Specifies the duration to pause between tidying individual certificates. This releases the revocation lock and allows other operations to continue while tidy is running.',
hideToggle:true,
formatTtl:true,
})
pauseDuration;
@attr('string',{
editType:'ttl',
helperTextEnabled:
'Specifies a duration after which cross-cluster revocation requests will be removed as expired.',
hideToggle:true,
formatTtl:true,
})
revocationQueueSafetyBuffer;// enterprise only
@attr('string',{
editType:'ttl',
helperTextEnabled:
'For a certificate to be expunged, the time must be after the expiration time of the certificate (according to the local clock) plus the safety buffer. Defaults to 72 hours.',
hideToggle:true,
formatTtl:true,
})
safetyBuffer;
@attr('boolean',{label:'Tidy the certificate store'})
subText:'Automatically remove expired issuers after the issuer safety buffer duration has elapsed.',
})
tidyExpiredIssuers;
@attr('boolean',{
label:'Tidy legacy CA bundle',
subText:
'Backup any legacy CA/issuers bundle (from Vault versions earlier than 1.11) to config/ca_bundle.bak. Migration will only occur after issuer safety buffer has passed.',