From 8ca8f93024bd1920ca80e565515e7d6f9f5cb4e6 Mon Sep 17 00:00:00 2001 From: Antonio Aranda <102337110+arandito@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:06:21 -0400 Subject: [PATCH] Allow SSEC bucket decryption in s3 integ tests --- .../integration/customizations/s3/test_plugin.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/integration/customizations/s3/test_plugin.py b/tests/integration/customizations/s3/test_plugin.py index 9ac845651c21..4aab3dd74a04 100644 --- a/tests/integration/customizations/s3/test_plugin.py +++ b/tests/integration/customizations/s3/test_plugin.py @@ -87,6 +87,21 @@ def setup_module(): s3.delete_public_access_block( Bucket=_SHARED_BUCKET ) + s3.put_bucket_encryption( + Bucket=_SHARED_BUCKET, + ServerSideEncryptionConfiguration={ + 'Rules': [ + { + 'ApplyServerSideEncryptionByDefault': { + 'SSEAlgorithm': 'AES256', + }, + 'BlockedEncryptionTypes': { + 'EncryptionType': ['NONE'], + }, + } + ], + }, + ) # Validate that "_NON_EXISTENT_BUCKET" doesn't exist. waiter = s3.get_waiter('bucket_not_exists')