Questions tagged [aws-signature]
35 questions
0
votes
1 answer
AWS Lambda HTTP request to Neptune with openCypher query fails
Running the below Lambda for most openCypher queries fails.
This is a NodeJS 18.x Lambda, attempting to send an HTTP request to a Neptune Writer endpoint.
The Lambda works fine when the openCypher query does not contain any strings. This simple…

Mor Sagmon
- 905
- 1
- 16
- 35
0
votes
0 answers
Signature Version 4 Issue on Swift
I really try hard to solve this problem on my project. But I can't.
I try to sign URLRequest headers and body by Amazon AWS Signature Version 4. And send it to server with Alamofire SDK.
But only headers without body work correctly.
I dunno why I…

David
- 35
- 4
0
votes
0 answers
How to verify if AWS Signature Version 4 is valid?
I try to implement my own S3 storage so I need to have an ability to verify if signature is valid.
I've started from https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-auth-using-authorization-header.html
For now I try to migrate the code from…

gstackoverflow
- 36,709
- 117
- 359
- 710
0
votes
0 answers
Canonical Request to AWS Signature 4 is correct?
I'd like to ask if there's any error in my canonical request, im trying to create one to the AWS Secrets Manager taking the sample request by example.
Doc:https://docs.aws.amazon.com/pt_br/AmazonS3/latest/API/sig-v4-header-based-auth.html
Sample…

knowledge_eater
- 1
- 1
0
votes
0 answers
AWS Secrets Manager Canonical Request AWS Signature
I'd like to ask if any of u guys knows if my Canonical Request to calculate the AWS Signature V4 is really correct. I made a canonical request to the Secrets Manager service in AWS to retrieve the key vault…

knowledge_eater
- 1
- 1
0
votes
0 answers
Why is my implementation of AwsSignatureVersion4 responding with a Forbidden status
I am making use of the .Net AwsSignatureVersion4 package to facilitate the signing of the AWS request.
Part of the process is to first assume an IAM role, and use the credentials received from the AWS.SDK STS service (AccessKeyId, SecretAccessKey…

Rudolf Lamprecht
- 1,050
- 1
- 14
- 37
0
votes
1 answer
Invoke Api Gateway Websockets API through HTTP
AWS provides us an SDK way to interact with WebSocket APIs, post_to_connection, delete_connection, get_connection
But how can we invoke the APIs from HTTP, which means a kind of python requests thing?
What I tried?
AWS Doc: How to call Websocket…

DilLip_Chowdary
- 841
- 4
- 18
0
votes
0 answers
Hash issue on Amazon AWS Signing v4
I am trying to build a component able to make requests to Amazon AWS API (Product Advertising API) in C# 4.7.
I have implemented all the 4 steps described in "Signing AWS API requests" guide and, when debugging, I have certified all outcoming…
0
votes
0 answers
Dart Signature V4 client Error: The request signature we calculated does not match the signature you provided
I am using the following code to connect AWS REST API using IAM authentication. It's working fine on Google Chrome but giving errors in Firefox.
import 'package:aws_signature_v4/aws_signature_v4.dart';
const signer = AWSSigV4Signer();
final…

Manish Kumar
- 65
- 3
- 6
0
votes
1 answer
Sign Request with AWS Sig V4 in Dart - Stream was terminated by peer (errorCode: 1)
I am building a Flutter app for my personal use. I have deployed a lambda that is triggered via API Gateway, it fetches some data from dynamoDB, processes them, and returns them to the client. The lambda can be triggered by a specific IAM User.
I…

bonobo
- 132
- 2
- 10
0
votes
0 answers
how to sign request with AWS v4 by sending binary file in the request
I am signing a petition by sending a .json file in the content and I get the following error:
SdkClientException: Unable to execute HTTP request: Connecto to elasticserarchhost.com Connection refused
My code looks like this
URIBuilder uriBuilder =…

Luis Morales
- 136
- 1
- 11
0
votes
0 answers
AWS STS - SignatureDoesNotMatch error from HttpWebRequest but exactly the same signature works in Postman and Python
Due to our system complexity, we chose to follow the hard way of calculating the signature for AWS API instead of using AWS SDK. Below, 3 different ways for sending a request to Amazon STS to assume a role.
First, I used Postman to simulate the…

kostas210
- 23
- 4
0
votes
0 answers
react native - aws signature - get request failing with : "The request signature we calculated does not match the signature you provided."
After it took me two weeks to get a POST request running with the 'agnostic-aws-signature' package I wanted to also make a GET request. Since them I am again two weeks on debugging this one getting the 403 message all day long.
I have tried probably…

Fapi
- 323
- 2
- 15
0
votes
1 answer
React Native / API Gateway axios post request fails in Android with 403
I am trying to call aws api gateway with a post request with signed headers. In iOS it works perfectly fine, while I get 403 with exactly the same request running the App in Android(of course with different credentials).
What I already found is this…

Fapi
- 323
- 2
- 15
0
votes
3 answers
Postman AWS Signature for SP-API not working
I am trying out SP-API catalog items API from postman. Trying to signing request using AWS Signature provided in postman. But getting the following error.
Headers used
Getting the following error
{
"errors": [
{
"message": "Credential…

Sunil Rao
- 800
- 2
- 6
- 23