amplify-swift icon indicating copy to clipboard operation
amplify-swift copied to clipboard

Does Amplify DataStore support Encryption at client?

Open sridhanya-ambaadi opened this issue 4 years ago • 7 comments

Securing data stored in mobile devices is of huge importance for apps related to healthcare, finance sector. Encryption is a widely used technique to secure data at rest. When considering the encryption of database in mobile, either the whole file can be encrypted or only certain attributes can be encrypted. In native frameworks like CoreData this is achieved either through DataProtection API or through transformable properties. Does Datastore have an equivalent option to encrypt data at rest?

sridhanya-ambaadi avatar Jan 05 '21 11:01 sridhanya-ambaadi

hi @sridhanya-ambaadi, DataStore doesn't currently support encryption of data at rest but it's indeed an interesting feature.

I'll keep this issue open so we track it in our backlog.

diegocstn avatar Jan 05 '21 22:01 diegocstn

I am also interested in this option and looking for the timelines

rpostulart avatar May 05 '21 20:05 rpostulart

@diegocstn

Could you please share some updates on this feature request and also the timeline by which we can expect this to be available.

sridhanya-ambaadi avatar Jun 09 '21 08:06 sridhanya-ambaadi

@undefobj do you have an update?

rpostulart avatar Jun 09 '21 10:06 rpostulart

@undefobj do you have an update?

No update on this. It is something we're looking into, but local encryption that is still query-able with key management to devices for syncing to the cloud is a complex problem space that will take time to address.

undefobj avatar Jun 10 '21 06:06 undefobj

This is very disappointing. So, is the only solution for developers with secure data to encrypt the data before storing it in datastore and to manage keys in app?

trnglt avatar May 31 '23 14:05 trnglt

Thank you for posting this. We are trying to improve Datastore with new features and will provide an update here.

thisisabhash avatar Aug 11 '23 16:08 thisisabhash