String key = ERAttachmentProcessor._parsePathTemplate(attachment,
keyTemplate, recommendedFileName);
attachment.setS3Location(bucket, key);
attachment.setConfigurationName(configurationName);
String s3Path = attachment.queryStringAuthGenerator().makeBareURL(
bucket, key);
attachment.setS3Path(s3Path);
attachment._setPendingUploadFile(uploadedFile, pendingDelete);