Amazon S3 guide
We are going to create this policy to increase security by granting only the PutObject permission, which is used when uploading files.
Create policyService, type S3 and then select S3Actions, type PutObject and then select both PutObject and PutObjectAcl to grant only the PutObject permissionResources, make sure Specific is selected and then click the Add ARN linkAny to give access to all your bucketsNote: You can uncheck Any later if you prefer to use a specific bucket name instead.
Any for the object name as wellAdd in the Add ARN(s) dialogReview policyShareX_PutObjectCreate policyCreate New GroupShareXNext StepPolicy Type dropdown filter and select Customer ManagedShareX_PutObject if you used that example nameNext StepCreate GroupAdd userProgrammatic accessNext: PermissionsShareX if you used that example nameNext: TagsNext: ReviewCreate userImportant: On this page, either make a record of Access key ID and Secret access key somewhere or press Download .csv to save them as a file. We need these later in ShareX.
CloseYou don't need to do these, but it is suggested to keep your account secure.
You may need to activate multi-factor authentication and create a password policy.
The bucket is where your uploaded files will be stored.
Create bucketImportant: If you are going to use your own domain with S3 then the bucket name should be the same as your CNAME. For example, if you want to use this URL: https://i.example.com/image.png then bucket name should be i.example.com. Click here for more info.
Tip: You can use this website to check the ping of regions: cloudping.info
Block all public access option is uncheckedCreate bucketIf you are going to use your own domain then you must configure DNS.
For example, assume that you are using Cloudflare, your bucket name is i.example.com, and it is stored in the EU (Frankfurt) region. Your DNS settings will then be:
CNAMEii.example.com.s3.eu-central-1.amazonaws.comYou can find a list of region endpoints from ShareX main window -> Destinations -> Destination settings -> Amazon S3 tab -> Endpoints.
So the target should be {bucketname}.{endpoint}
Check here for more information.
Destinations -> Destination settingsAmazon S3 tabaccess key ID and secret access key that you noted down previously%y/%mo, which creates subfolders such as 2020/04Use custom domain and fill the text box, for example: https://i.example.comNow you are ready to use Amazon S3 in ShareX!