S3 File Anonymization ( Data Masking)

1

Could you please tell me whether there is any AWS service that can mask the content of S3 files? (Data masking/Anonymization).

For Example,

  1. Masking Name from John to 'abcd'

  2. Masking Phone Number from 770012 to 11111

  3. Masking Date of Birth from 2020-01-05 to 2000-11-11

Even after masking, the column's format should be preserved. Example, Date of birth should be in date format even after the masking

Thanks & Regards,

Aflah Kanhayi

3 Answers
0

Not sure if you are looking to mask data when stored or when retrieved. For the latter, Object Lambda provides option. Take a look at this blog with example:

https://aws.amazon.com/blogs/machine-learning/protect-pii-using-amazon-s3-object-lambda-to-process-and-modify-data-during-retrieval/

AWS
answered 2 years ago
  • the answer is correct, based on the limited information in the question. A more complete answer would have been to also propose solution for masking data when stored.

0
  • the answer is correct, based on the limited information in the question. A more complete answer would have been to also propose solution for masking data when accessed.

0

To other good answers, I can add that you can monitor your S3 Buckets using AWS Macie to detect PIIs.

Then you can trigger lambda for findings to anonymize it because AWS Macie is sending events through EventBridge. You can find more here.

profile picture
MG
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions