Documentation ¶
Index ¶
- func Init(filename string, fs afero.Fs) (map[string]string, error)
- func LoadEncryptedFile(loader sops.EncryptedFileLoader, inputPath string, fs afero.Fs) (*sops.Tree, error)
- func LoadEncryptedFileWithBugFixes(opts common.GenericDecryptOpts, fs afero.Fs) (*sops.Tree, error)
- func SecretsCmd(cmdName, fileName string, sa SecretArgs, args []string, log *zap.SugaredLogger) error
- type SecretArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEncryptedFile ¶
func LoadEncryptedFile( loader sops.EncryptedFileLoader, inputPath string, fs afero.Fs) (*sops.Tree, error)
LoadEncryptedFile loads an encrypted file from the given path.
func LoadEncryptedFileWithBugFixes ¶
func LoadEncryptedFileWithBugFixes( opts common.GenericDecryptOpts, fs afero.Fs) (*sops.Tree, error)
LoadEncryptedFileWithBugFixes loads an encrypted file from the given path and applies bug fixes.
func SecretsCmd ¶
func SecretsCmd(cmdName, fileName string, sa SecretArgs, args []string, log *zap.SugaredLogger) error
SecretsCmd is the entry point for the secrets command
Types ¶
type SecretArgs ¶
type SecretArgs struct {
KMS, KMSC, AWS, GCP, Azure, PGP string //nolint:golint,unused
}
Click to show internal directories.
Click to hide internal directories.