Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptUpdateExpressionValues ¶
func EncryptUpdateExpressionValues( ctx context.Context, svc *Service, metadata *model.Metadata, updateExpression string, exprAttrNames map[string]string, exprAttrValues map[string]types.AttributeValue, ) error
EncryptUpdateExpressionValues mutates exprAttrValues in-place by encrypting values assigned to encrypted fields. It currently supports direct SET assignments and if_not_exists() defaults for encrypted fields.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements envelope encryption for DynamoDB attribute values using AWS KMS.
func NewService ¶
func (*Service) DecryptAttributeValue ¶
func (s *Service) DecryptAttributeValue(ctx context.Context, attributeName string, envelope types.AttributeValue) (types.AttributeValue, error)
func (*Service) EncryptAttributeValue ¶
func (s *Service) EncryptAttributeValue(ctx context.Context, attributeName string, av types.AttributeValue) (types.AttributeValue, error)
Click to show internal directories.
Click to hide internal directories.