Security schema and S3 client