No description
| cmd/secret | ||
| .gogogo.conf | ||
| .golangci.yml | ||
| go.mod | ||
| go.sum | ||
| LICENSE.txt | ||
| README.md | ||
| secret.go | ||
| secret_test.go | ||
secret
This package allows simple "encoding" of secret values in configuration files:
user: hans
pass: env:USERPASS
The secret value consists of a schema, and one or more values. Currently supported schemes are:
- plain, pass: the value itself is the secret, with whitespace trimmed
- raw: the value itself is the secret
- env: the actual value is taken literally from the referenced environment
- file: the actual value is taken from the referenced file, with whitespace trimmed
- rawfile: as file, but literally