Documentation ¶
Index ¶
- func Decrypt(path string) ([]byte, bool, error)
- func Encrypt(inputPath, outputPath string) error
- func GeneratePGPSopsYaml(keyPair KeyPair) error
- func ImportPGPKeypair(keyPair KeyPair) error
- func RemovePGPKeypairs(fingerprints []string) error
- func ViewCmd(filename string) *exec.Cmd
- type CreationRule
- type ErrNoSecretsFile
- type ErrSecretsAlreadyEncrypted
- type ErrSecretsFailure
- type KeyPair
- type SopsYaml
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePGPSopsYaml ¶ added in v0.0.17
func ImportPGPKeypair ¶ added in v0.0.17
func RemovePGPKeypairs ¶ added in v0.0.17
Types ¶
type CreationRule ¶ added in v0.0.17
type CreationRule struct {
PGP string `yaml:"pgp"`
}
type ErrNoSecretsFile ¶
type ErrNoSecretsFile struct {
Path string
}
func (ErrNoSecretsFile) Error ¶
func (err ErrNoSecretsFile) Error() string
type ErrSecretsAlreadyEncrypted ¶
type ErrSecretsAlreadyEncrypted struct {
Path string
}
func (ErrSecretsAlreadyEncrypted) Error ¶
func (err ErrSecretsAlreadyEncrypted) Error() string
type ErrSecretsFailure ¶
func (ErrSecretsFailure) Error ¶
func (err ErrSecretsFailure) Error() string
type KeyPair ¶ added in v0.0.17
type SopsYaml ¶ added in v0.0.17
type SopsYaml struct {
CreationRules []CreationRule `yaml:"creation_rules"`
}
func LoadPGPSopsYaml ¶ added in v0.0.17
Click to show internal directories.
Click to hide internal directories.