Skip to content

Scope or Signature not working #85

@HenriqueOtsuka

Description

@HenriqueOtsuka

Hey guys,

I've generated the scope and the signature using the python script and hardcoded into my NGINX to test, but AWS response says that the signature expected doesn't match
The request signature we calculated does not match the signature you provided. Check your key and signing method

I'm stucked into this somedays and I really don't know what more I can do.

I'm using ./script -k my-aws-secret-key -r my-aws-region -s my-aws-service, it returns the right scope and the signature and the I'm copying and pasting into nginx to use it.

location /test {
aws_access_key AKIAEXAMPLETEST;
        aws_s3_bucket my-test-bucket;
        aws_key_scope 20230630/us-east-1/s3/aws4_request;
        aws_signing_key SOMERANDOMVALUE=;
        aws_sign;

        proxy_pass http://my-test-bucket/my-test-file.mp4
}

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions