Revert "updating trusted domains for s3"

This reverts commit 50072187a4cfbe2d2fd3adb1aeab6af046a37246.