secret

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 21 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(ctx context.Context, m *secrets_manager.SecretsManager, workingDir, filePath string, values bool) error

func SecretFileDecrypt

func SecretFileDecrypt(ctx context.Context, m *secrets_manager.SecretsManager, workingDir, filePath, outputFilePath string) error

func SecretFileEncrypt

func SecretFileEncrypt(ctx context.Context, m *secrets_manager.SecretsManager, workingDir, filePath, outputFilePath string) error

func SecretValuesDecrypt

func SecretValuesDecrypt(ctx context.Context, m *secrets_manager.SecretsManager, workingDir, filePath, outputFilePath string) error

func SecretValuesEncrypt

func SecretValuesEncrypt(ctx context.Context, m *secrets_manager.SecretsManager, workingDir, 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