config consistency for s3_secure + s3_encrypt