Documentation
¶
Overview ¶
Package encryption handles all KMS operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
DecryptConfig([]byte, interface{}) error
EncryptConfig(interface{}) ([]byte, error)
}
API defines the interface which can be used for mocking.
type Key ¶
type Key struct {
ID *string
// contains filtered or unexported fields
}
Key encapsulates a connection to the KMS encryption key.
func (*Key) DecryptConfig ¶
DecryptConfig uses KMS to decrypt an output configuration.
func (*Key) EncryptConfig ¶
EncryptConfig uses KMS to encrypt an output configuration.
Click to show internal directories.
Click to hide internal directories.