Versions in this module Expand all Collapse all v0 v0.14.0 Jan 29, 2024 Changes in this version + var ErrFailedCertCreation = errors.New("failed to create client certificate") + var ErrFailedCertRevocation = errors.New("failed to revoke certificate") + var ErrMissingCACertificate = errors.New("missing CA certificate for certificate signing") + type Agent interface + IssueCert func(cn, ttl string) (Cert, error) + Read func(serial string) (Cert, error) + Revoke func(serial string) (time.Time, error) + func NewVaultClient(token, host, path, role string) (Agent, error) + type Cert struct + CAChain []string + ClientCert string + ClientKey string + Expire int64 + IssuingCA string + PrivateKeyType string + Serial string