transit

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVaultClient

func NewVaultClient(logger hclog.Logger) (*vault.Client, error)

NewVaultClient returns a vault api client configured based on the Vault standard env variables VAULT_ADDR, VAULT_TOKEN, etc

Types

type TransitClient

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

func NewTransitClient

func NewTransitClient(l hclog.Logger) (*TransitClient, error)

func (*TransitClient) GenCSR added in v0.2.0

func (t *TransitClient) GenCSR(cfsslCSRFile string, keyVersion int) error

func (*TransitClient) ImportPrivateKey

func (t *TransitClient) ImportPrivateKey(keyFile string) error

func (*TransitClient) SetKeyProperties added in v0.2.0

func (t *TransitClient) SetKeyProperties(transitMount, keyName string)

func (*TransitClient) TransitImportKey

func (t *TransitClient) TransitImportKey(transitMount, keyName, hashFunc, base64Ciphertext, keyType string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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