Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultRenew = "10%"
)
DefaultRenew represents the duration before certificate expiration in which renewal should be attempted
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(config domain.Config, task domain.CertificateTask) []error
Execute takes the task and requests the certificate specified, then it installs it in the locations defined by the installers.
Config is used to make the connection to the Venafi platform for the certificate request.
func ValidateTPPCredentials ¶
ValidateTPPCredentials checks that the TPP credentials are not expired.
If expired, it will try to get a new token pair using the refreshToken.
If the refreshing is successful it will save the new token pair in the playbook file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.