Lines Matching defs:Wrapper
36 type Wrapper struct { struct
37 accessKey string
38 secretKey string
39 sessionToken string
40 region string
41 keyID string
42 endpoint string
44 currentKeyID *atomic.Value
46 client kmsiface.KMSAPI
48 logger hclog.Logger
75 func (k *Wrapper) SetConfig(config map[string]string) (map[string]string, error) {
145 func (k *Wrapper) Init(_ context.Context) error {
151 func (k *Wrapper) Finalize(_ context.Context) error {
156 func (k *Wrapper) Type() string {
161 func (k *Wrapper) KeyID() string {
166 func (k *Wrapper) HMACKeyID() string {
173 …) Encrypt(_ context.Context, plaintext, aad []byte) (blob *wrapping.EncryptedBlobInfo, err error) {
222 …er) Decrypt(_ context.Context, in *wrapping.EncryptedBlobInfo, aad []byte) (pt []byte, err error) {
276 func (k *Wrapper) GetAWSKMSClient() (*kms.KMS, error) {