vault

package
v0.0.0-...-4b75dde Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package vault implements the certificate.Manager interface for Hashicorp Vault as the certificate provider.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertManager

type CertManager struct {
	// contains filtered or unexported fields
}

CertManager implements certificate.Manager and contains a Hashi Vault client instance.

func New

func New(vaultAddr, token, role string) (*CertManager, error)

New constructs a new certificate client using Vault's cert-manager

func (*CertManager) IssueCertificate

func (cm *CertManager) IssueCertificate(options certificate.IssueOptions) (*certificate.Certificate, error)

IssueCertificate requests a new signed certificate from the configured Vault issuer.

Jump to

Keyboard shortcuts

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