Documentation
¶
Overview ¶
Package kms adds kms support for go-config-yourself
It uses the AWS KMS (https://aws.amazon.com/kms/) service to encrypt every secret value.
Index ¶
- func New(config map[string]interface{}) (pvd.Crypto, error)
- type Provider
- func (provider *Provider) Decrypt(encryptedBytes []byte) (string, error)
- func (provider *Provider) Enabled() bool
- func (provider *Provider) Encrypt(plainText []byte) ([]byte, error)
- func (provider *Provider) Replace(args map[string]interface{}) (err error)
- func (provider *Provider) Serialize() (serialized map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements provider.Crypto for KMS
Click to show internal directories.
Click to hide internal directories.