Documentation
¶
Index ¶
Constants ¶
View Source
const ( // KMS - this is constant used in params KMS = "kms" // Region - this is constant used in params Region = "region" )
Variables ¶
View Source
var ( // ErrKmsMissing - this is the custom error, returned when name, alias or arn is missing ErrKmsMissing = errors.New("kms is empty or missing") // ErrRegionMissing - this is the custom error, returned when the region is missing ErrRegionMissing = errors.New("region is empty or missing") )
Functions ¶
This section is empty.
Types ¶
type AmazonKMS ¶
type AmazonKMS struct{}
AmazonKMS struct represents AWS Key Management Service
func (*AmazonKMS) Decrypt ¶
Decrypt is responsible for decrypting ciphertext and returning plaintext in bytes using AWS KMS. All configuration is passed in params with according validation. See Crypt.DecryptFile
Click to show internal directories.
Click to hide internal directories.