vaultsecret

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StorePEMPath = "pem"
	StoreKeyPath = "key"

	CALocalStoreKey = "local_store"
	CATructCertsKey = "trust_certs"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultSecret

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

VaultSecret ...

func NewVaultSecret

func NewVaultSecret(cli *vaultAPI.Client, prefix string) *VaultSecret

NewVaultSecret ...

func (*VaultSecret) DeleteCertPEM

func (v *VaultSecret) DeleteCertPEM(sn string) error

DeleteCertPEM ...

func (*VaultSecret) GetCertPEM

func (v *VaultSecret) GetCertPEM(sn string) (*string, error)

GetCertPEM ...

func (*VaultSecret) GetCertPEMKey

func (v *VaultSecret) GetCertPEMKey(sn string) (*string, *string, error)

GetCertPEMKey ...

func (*VaultSecret) StoreCertPEM

func (v *VaultSecret) StoreCertPEM(sn string, pem string) error

StoreCertPEM ...

func (*VaultSecret) StoreCertPEMKey

func (v *VaultSecret) StoreCertPEMKey(sn string, pem string, key string) error

StoreCertPEMKey ...

Jump to

Keyboard shortcuts

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