Provide the required info and click on 'Next: Permissions' On the IAM Dashboard, select the 'Users' and click on 'Add user' After login into AWS, type IAM in the search bar and select IAM. Create an IAM (Identity and Access Management) user and use the user's credentials in AWS SDK. Code to encrypt the data, save it into Amazon S3 and decrypt the data before reading.ġ.Create Console App in Visual Studio 2019 and install AWS Toolkit.Create IAM (Identity and Access Management) user.Another advantage is you can use your master keys for encryption, and no one can access your data without having your master encryption keys. The advantage of client-side encryption is, encryption is performed locally, and the data never leaves the execution environment unencrypted. Here, I will use client-side encryption for data before sending it to Amazon S3 using AWS SDK. Amazon S3 allows encrypting the data or objects either on the server-side or client-side. When you upload the data into the S3 bucket, you need to ensure that the sensitive data is secure by using proper encryption. AWS S3 Client-side Encryption in AWS SDK.