service

package
v5.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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

func ValidateTPPCredentials(playbook *domain.Playbook) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL