secret

package
v0.0.0-...-0f306be Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: Apache-2.0 Imports: 19 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(prompt string) ([]byte, error)

func InputFromStdin

func InputFromStdin() ([]byte, error)

func RotateSecretKey

func RotateSecretKey(
	ctx context.Context,
	helmChartDir string,
	secretWorkingDir string,
	secretValuesPaths ...string,
) error

func SaveGeneratedData

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

func SecretEdit

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