Bucket Name & Region
First, go to the buckets list. Select a bucket or create a new one. To create a bucket click on Create bucket.

Enter a name for the bucket. And store the name and region such as ‘eu-north-1‘.
If using an old bucket store that bucket name and region.

Click on Create bucket button.

Click on the bucket and go to the Permission tab. Edit the Bucket policy.

And enter the above code in the Bucket policy. Just replace ‘bucket-name‘ with your bucket name.
{ "Version": "2008-10-17", "Statement": [ { "Sid": "AllowPublicRead", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action": "s3:GetObject", "Resource": "arn:aws:s3:::bucket-name/*" } ] }
Create a User & Get Access Keys
Go to this link to create a user for the access keys. Enter a user name and click on the Next button.

Select Attach policies directly. Search S3FullAccess in Permissions policies and check the AmazonS3FullAccess. And click on the Next button.

Review the user and click on Create user button.

Now, go to the Users page and select the user that you have created. Or you can choose another user.

On the user page select Security credentials. Click on Create access key from the Access keys area.

Select Command Line Interface (CLI) and check I understand. Then click on the Next button.

Next, click on Create access key button.

Store the Access key and Secret access key.
