vaultcli

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVaultEnv

func CreateVaultEnv(kubeClient kubernetes.Interface) (map[string]string, error)

CreateVaultEnv creates the vault env vars

func MaskedCommandRunner added in v0.1.44

func MaskedCommandRunner(c *cmdrunner.Command) (string, error)

MaskedCommandRunner mask the command line arguments when logging

func MastSecretArgs added in v0.1.44

func MastSecretArgs(args []string) []string

MastSecretArgs lets mask any passwords/tokens in the arguments passed into the vault CLI e.g. for the arguments: : kv put secret/jx/pipelineUser token=dummyPipelineToken

func VerifyVaultBinary

func VerifyVaultBinary(commandRunner cmdrunner.CommandRunner, env map[string]string) (string, error)

VerifyVaultBinary verifies the vault binary

func WaitForVault added in v0.1.44

func WaitForVault(commandRunner, quietCommandRunner cmdrunner.CommandRunner, kubeClient kubernetes.Interface) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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