Key Points
- Classify tenant data and choose an S3 SSE mode per bucket, using SSE-S3 for simplicity or SSE-KMS for key control.
- Set SSE-KMS as the bucket default where needed, since SSE-S3 is already on, and add deny policies that block PutObject requests without valid encryption headers.
- For SSE-KMS, use least-privilege key policies, separate admins/users, restrict IAM roles/services, and enable annual rotation.
- Verify coverage using S3 Inventory EncryptionStatus, compute the encrypted-object percentage, and flag exceptions.
- Produce monthly evidence packets summarizing encryption coverage, denied unencrypted requests, key usage, and policy updates.
AWS S3 server-side encryption protects data at rest. Still, it really shines as a data security tool when encryption is applied by default, enforced by policy, governed with clear key ownership, and verified with evidence. Take advantage of all the tools at your disposal to ensure that the organization’s data is protected.
A guide for managing AWS S3 default encryption
Prerequisites:
- You need to have done an inventory of buckets by tenant and data class.
- You need decision criteria for SSE-S3 versus SSE-KMS per bucket.
- You need a KMS key policy template with owner and user roles defined.
- You need destination buckets for S3 Inventory and server access logs.
- You need an evidence workspace for policy diffs, CSVs, and monthly packets
Step 1: Decide on the SSE mode per bucket
Server-side encryption is an encryption method in which data is encrypted by the service or application that receives it. Amazon offers this service by default using Amazon S3 managed keys (SSE-S3). However, you can change or upgrade this to suit your needs. Here are the options available:
- SSE-S3: The default option. The encryption keys are managed by Amazon S3.
- SSE-KMS: The encryption keys are stored and managed in AWS Key Management Service (KMS).
- SSE-C: The customer provides their own encryption key with each write request. AWS performs AES-256 encryption using that key but does not store it, so customers are responsible for key management and availability. Since April 2026, S3 disables SSE-C by default, so you need to enable it on a bucket before use.
- DSSE-KMS: This applies two layers of encryption using AWS KMS keys for workloads that require dual-layer encryption.
You can choose a different SSE mode per bucket. Keep track of which method you use for which bucket.
Step 2: Set bucket default encryption
Once you’ve decided on which encryption method you want for a bucket, it’s time to put it to use. Amazon S3 already encrypts every new object with SSE-S3 by default, so SSE-S3 buckets need no setup. Meanwhile, for buckets that require SSE-KMS, be sure to set the default encryption to your KMS key so new objects use it automatically.
Save a short CLI output or screenshots to your evidence workspace per bucket. This encourages transparency and accountability.
Step 3: Deny unencrypted object uploads with policy
Attach a bucket policy that blocks PutObject without required encryption headers or with disallowed algorithms. Test it on a non-production bucket first, since it can also block services that write logs to your bucket without the header, such as load balancers and CloudFront. To set it up, you need to:
- Go to Amazon S3 > Buckets.
- Select the target bucket that stores sensitive or regulated data.
- Note the bucket’s ARN (Amazon Resource Name) since you’ll need this to create the bucket policy.
- Create a JSON file in a separate program that denies any PutObject operation without the proper encryption headers. Here’s a sample you can use as a reference:
{"Version": "2012-10-17","Id": "EnforceS3EncryptionPolicy","Statement": [{"Sid": "DenyUnEncryptedObjectUploads","Effect": "Deny","Principal": "*","Action": "s3:PutObject","Resource": "arn:aws:s3:::your-bucket-name/*","Condition": {"StringNotEqualsIfExists": {"s3:x-amz-server-side-encryption": ["AES256", "aws:kms"]}}},{"Sid": "DenyInsecureTransport","Effect": "Deny","Principal": "*","Action": "s3:*","Resource": ["arn:aws:s3:::your-bucket-name","arn:aws:s3:::your-bucket-name/*"],"Condition": {"Bool": {"aws:SecureTransport": "false"}}}]} |
- Once done with the JSON file, go to the target S3 bucket > Permissions > Bucket policy.
- Paste the JSON policy into the editor.
- Click Save changes.
- Validate the results. Upload a file without encryption. The request should be denied.
Store the policy text in a separate place for reference, so reviewers can confirm it later.
Step 4: Define KMS key policies and rotation
For SSE-KMS buckets, you need to restrict key use to specific IAM roles and services. To do that, you should:
- Go to the Amazon bucket that uses SSE-KMS encryption.
- Create a JSON file that follows the least privilege principle. Here’s a sample you can use for reference:
{
|
- Open AWS KMS > Customer managed keys > Your key > Key policy.
- Select Switch to policy view.
- Paste the JSON policy and click Save changes.
- Open the key’s Key rotation tab and turn on automatic key rotation. By default, AWS rotates its key every year.
Step 5: Align transport to at-rest goals
Require TLS for clients and services that access protected buckets. Reference your HTTPS and TLS standards in the runbook so teams understand end-to-end posture.
Note: If you applied the Step 3 policy, it already includes this TLS statement, so you can skip the steps below.
- Go to your target bucket.
- Create a JSON file that blocks any access from devices using unencrypted HTTP (non-TLS). Here’s a sample for your reference:
{"Version": "2012-10-17","Id": "EnforceTLSOnlyAccess","Statement": [{"Sid": "DenyInsecureTransport","Effect": "Deny","Principal": "*","Action": "s3:*","Resource": ["arn:aws:s3:::your-bucket-name","arn:aws:s3:::your-bucket-name/*"],"Condition": {"Bool": {"aws:SecureTransport": "false"}}}]} |
- Go to S3 > Buckets > [your target bucket] > Permissions > Bucket policy.
- Add the DenyInsecureTransport statement to your existing policy instead of replacing it, and replace your-bucket-name with your actual bucket name.
- Click Save changes.
Step 6: Validate coverage with S3 Inventory
- Choose or create a destination bucket where S3 Inventory reports will be delivered. Please note that:
- It must be in the same AWS Region as the source bucket.
- It must have the default encryption (SSE-S3 or SSE-KMS) enabled to protect the report itself.
- Create a dedicated folder for your report.
- Go to S3 > [your source bucket] > Management > Inventory configurations > Create inventory configuration.
- Configure the following:
- Name: EncryptionStatusAudit
- Destination: your chosen destination bucket and prefix.
- Frequency: Daily or Weekly (daily recommended).
- Output format: CSV
- Include the following fields:
- Size
- LastModifiedDate
- StorageClass
- EncryptionStatus
- Enable server-side encryption for reports.
- Click Save changes to activate the inventory configuration.
The first report can take up to 48 hours to arrive after you finish configuration.
Step 7: Detect drift with access logs and config checks
Once you have your data, review server access logs for denied unencrypted puts and unexpected principals using keys. If there are too many, there may be a bigger issue that you should look into.
Scan regularly to ensure that there are no buckets without default encryption or with permissive policies. If you find one, open a ticket with the owner and a due date to ensure that the issue is resolved.
Step 8: Test access and restore paths
Read a sample object to ensure that decryption works. If any unencrypted files are still getting through, review your configurations again. For SSE-KMS, verify that key usage appears in logs. Save commands, timestamps, and short outputs.
Step 9: Operate controlled change
Only authorized personnel should make changes to bucket configurations. And any edit to the bucket or key policy should have a purpose, blast radius, rollback notes, and expiry for temporary changes. Keep a log of all these things to encourage transparency and accountability.
Step 10: Publish a monthly evidence packet
Create a packet for each tenant. These reports should include coverage from inventory, counts of denied unencrypted puts, key usage summaries, policy diffs, and open exceptions with owners and their expiry dates.
Keep the report to one page so that executives can easily scan it and get the relevant information.
Best practices summary table for managing AWS S3 bucket server-side encryption configuration
| Practice | Purpose | Value Delivered |
| Mode per bucket | This will match the control to the data class. | This gives you a risk-aligned design and a clear cost. |
| Default encryption plus deny policy | This will make encryption non-optional for your buckets. | This provides consistent coverage and makes audits easy. |
| Tight KMS governance | This will limit who can decrypt. | This gives separation of duties and traceability. |
| Inventory and logs | This will ensure continuous verification. | This ensures you have fast QBRs and compliance checks. |
| Monthly packet | This will give you an executive-ready story. | This gives you more trust and reduces review time. |
NinjaOne integration ideas for AWS Key Management Service
You can use NinjaOne tools to:
- Use scheduled tasks to collect exported CSVs and short log samples from AWS accounts.
- Tag artifacts by tenant and bucket.
- Store the monthly packet and client documentation for QBRs in the NinjaOne documentation platform.
Quick-Start Guide
NinjaOne can help implement Amazon S3 Server-Side Encryption with Guardrails through several capabilities:
NinjaOne Capabilities for S3 Encryption Guardrails
1. Policy-Based Enforcement
NinjaOne allows you to create policies that can enforce security configurations across your environment. While it doesn’t directly manage AWS S3 encryption settings, you can use NinjaOne policies to:
- Ensure agents have proper configurations to interact with encrypted S3 buckets
- Deploy scripts that verify S3 bucket encryption settings
- Create alerts when unencrypted data is detected
2. Monitoring and Alerting
NinjaOne provides monitoring capabilities that can help with S3 encryption guardrails:
- Monitor agent connectivity to S3 services
- Alert on policy violations related to data protection
- Track encryption status through custom scripts
3. Automation
Through NinjaOne scripts, you can automate:
- Verification of S3 bucket encryption settings
- Enforcement of encryption policies across multiple AWS accounts
- Remediation actions when encryption requirements aren’t met
4. Integration with AWS
NinjaOne integrates with AWS services, allowing you to:
- Monitor AWS resource configurations
- Respond to security events related to S3 access
- Implement guardrails through AWS-native services that NinjaOne can monitor
Manage AWS S3 server-side encryption properly with the right knowledge
S3 server-side encryption is a reliable security guardrail when you choose the right mode, enforced by default, govern keys carefully, and verify coverage with inventory and logs. By publishing a simple monthly packet, you make the control auditable and keep stakeholders aligned.
Related topics:

