aws / aws-sdk-ruby-record

Official repository for the aws-record gem, an abstraction for Amazon DynamoDB.
Apache License 2.0
318 stars 41 forks source link

Support DynamoDB Encryption feature #111

Closed kimyu92 closed 2 years ago

kimyu92 commented 3 years ago

Similar to dynamodb encryption provided for java and python, https://github.com/aws/aws-dynamodb-encryption-java https://github.com/aws/aws-dynamodb-encryption-python

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/EncryptionAtRest.html Is there any plan to support this feature for ruby?

mullermp commented 3 years ago

Thanks for opening an issue. The SDK team does not own those two packages, but they look to be official. I don't know if there's a plan to support Ruby or not. I can put this feature request in front of them and find out.

kimyu92 commented 3 years ago

Ideally, aws-record api would look something similar to unencrypted

class MyModel
  include Aws::Record
  integer_attr :id, hash_key: true
  string_attr  :name, range_key: true, encrypted: true
  boolean_attr :active, database_attribute_name: "is_active_flag"
end
alex-chew commented 3 years ago

Hi kimyu92, thanks for reaching out. We don't have plans to support the DynamoDB Encryption Client in Ruby, but we'll take note of your feature request.

mullermp commented 2 years ago

Closing as we would not be owning client side encryption (@alex-chew's team has noted the feature request).