Enabling AWS KMS Encryption for Amazon S3 Cloud Storage
AWS Key Management Service (KMS) is an Amazon web service that uses customer master keys to encrypt objects in Amazon S3 cloud storage. You can configure S3 server-side encryption with KMS system-wide or on a user-by-user basis.
Prerequisites:
- Aspera server version 3.6.1 or later.
- Your server is located in the same region as your S3 bucket.
- You have root access to your Aspera server, so that you can edit configurations and restart services.
- You know which KMS Key to use (the default key or a specific one).Note: To use a specific KMS key, you must access your AWS console and create a key using the AWS IAM role console. For instructions on creating keys for KMS, see AWS Key Management Service Developer Guide: Creating Keys at https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html.
System-Wide Configuration
To enable system-wide S3 server-side encryption with KMS, configure the s3.properties file on the server.
Individual Docroot Configuration
To enable S3 server-side encryption with KMS for specific users, append ?server-side-encryption=AWS_KMS to the S3 docroot of the transfer users. You can do this in IBM Aspera Console or using the asconfigurator tool. The examples below use asconfigurator.