LifetimeAction Class

Action and its trigger that will be performed by certificate Vault over the lifetime of a certificate.

Inheritance
builtins.object
LifetimeAction

Constructor

LifetimeAction(action: Optional[CertificatePolicyAction], lifetime_percentage: Optional[int] = None, days_before_expiry: Optional[int] = None)

Parameters

action
str or CertificatePolicyAction
Required

The type of the action. For valid values, see CertificatePolicyAction

lifetime_percentage
int
default value: None

Percentage of lifetime at which to trigger. Value should be between 1 and 99.

days_before_expiry
int
default value: None

Days before expiry to attempt renewal. Value should be between 1 and validity_in_months multiplied by 27. I.e., if validity_in_months is 36, then value should be between 1 and 972 (36 * 27).

Attributes

action

The type of the action that will be executed. Valid values are "EmailContacts" and "AutoRenew"

Return type

days_before_expiry

Days before expiry to attempt renewal.

Return type

int,

lifetime_percentage

Percentage of lifetime at which to trigger.

Return type

int,