Documentation
¶
Index ¶
- func Edit(secretsOptions *cli.SecretsOptions, filename string) error
- func Export(exportOptionSets map[string]*cli.ExportOptions) error
- func GenerateKey(secretsOptions *cli.SecretsOptions, email, name string) error
- func ReEncrypt(secretsOptions *cli.SecretsOptions, filename string) error
- func Reveal(secretsOptions *cli.SecretsOptions, filename string) error
- func Status(compareOptionSets map[string]*cli.CompareOptions) (bool, error)
- func Update(nonInteractive bool, compareOptionSets map[string]*cli.CompareOptions) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Edit ¶
func Edit(secretsOptions *cli.SecretsOptions, filename string) error
Edit opens given filen in cleartext in $EDITOR, then encrypts the content on save.
func Export ¶
func Export(exportOptionSets map[string]*cli.ExportOptions) error
Export prints an export of targeted resources to STDOUT.
func GenerateKey ¶
func GenerateKey(secretsOptions *cli.SecretsOptions, email, name string) error
GenerateKey generates a GPG key using specified email (and optionally name).
func ReEncrypt ¶
func ReEncrypt(secretsOptions *cli.SecretsOptions, filename string) error
ReEncrypt decrypts given file(s) and encrypts all params again. This allows to share the secrets with a new keypair.
func Reveal ¶
func Reveal(secretsOptions *cli.SecretsOptions, filename string) error
Reveal prints the clear-text of an encrypted file to STDOUT.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.