# AWS S3 upload - unable to sign request without credentials set

**URL:** <https://meta.discourse.org/t/aws-s3-upload-unable-to-sign-request-without-credentials-set/342266>\
**Category:** Product Support\
**Created:** [December 13, 2024, 11:49am UTC](https://meta.discourse.org/t/aws-s3-upload-unable-to-sign-request-without-credentials-set/342266 "2024-12-13T11:49:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Wurzelseppi](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@Wurzelseppi](https://meta.discourse.org/u/Wurzelseppi)\
**Post date:** [December 13, 2024, 5:04pm UTC](https://meta.discourse.org/t/aws-s3-upload-unable-to-sign-request-without-credentials-set/342266/3 "2024-12-13T17:04:39Z")

</div>

hmmmm…

My EC2Instance Roles policy look loike this:

```plaintext

[
    {
    "Action": [
        "s3:PutObject",
        "s3:AbortMultipartUpload",
        "s3:PutLifecycleConfiguration",
        "s3:PutObjectVersionAcl",
        "s3:PutBucketCORS",
        "s3:DeleteObject",
        "s3:PutObjectAcl",
        "s3:Get*",
        "s3:List*"
    ],
    "Resource": [
        "arn:aws:s3:::<data-bucket>",
        "arn:aws:s3:::<data-bucket>/*",
        "arn:aws:s3:::<backup-bucket>",
        "arn:aws:s3:::<backup-bucket>/*"
    ],
    "Effect": "Allow"
}
]

```

Bucket permissions look like this, but security hub already screams at me, that it´s too open ☹

 ![The image is a screenshot of a settings page from Amazon Web Services (AWS) configuring public access settings for a bucket. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/0/e/4/0e4272ed3af2bf10b92f2296a6218053d50e7ffa.png)

I can upload files from ec2 instance without problems with cli (instanceprofile works in that regard)

UPDATE: noticed, that the upload progress reaches 100 %, and only after that I´m getting the error (had to be quick with Greenshot to capture this 😃 )

 ![The image is a screenshot of a forum or discussion board interface with a text editor and a progress bar indicating an ongoing upload process for an image. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/c/b/3/cb309205ebe9be1c4b138d19658e29dd44b35d37.png)

hmmmm … seems he was successful uploading the multiparts, but couldn´t finish the process afterwards

---

_[View the full topic](https://meta.discourse.org/t/aws-s3-upload-unable-to-sign-request-without-credentials-set/342266)._
