secret

package
v1.1.19 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectedFilePathOrPipeError

func ExpectedFilePathOrPipeError() error

func InputFromInteractiveStdin

func InputFromInteractiveStdin() ([]byte, error)

func InputFromStdin

func InputFromStdin() ([]byte, error)

func ReadFileData

func ReadFileData(filePath string) ([]byte, error)

func SaveGeneratedData

func SaveGeneratedData(filePath string, data []byte) error

func SecretEdit

func SecretEdit(m secret.Manager, filePath string, values bool) error

func SecretFileDecrypt

func SecretFileDecrypt(m secret.Manager, filePath, outputFilePath string) error

func SecretFileEncrypt

func SecretFileEncrypt(m secret.Manager, filePath, outputFilePath string) error

func SecretValuesDecrypt

func SecretValuesDecrypt(m secret.Manager, filePath, outputFilePath string) error

func SecretValuesEncrypt

func SecretValuesEncrypt(m secret.Manager, filePath, outputFilePath string) error

Types

type GenerateOptions

type GenerateOptions struct {
	FilePath       string
	OutputFilePath string
	Values         bool
}

Jump to

Keyboard shortcuts

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