Get AUTHPARAMS for HTTP GET call

Greg Jones
Greg Jones used Ask the Experts™
on
Hello,

How do i generate authentication parameters to be used by an API call to amazon SQS?  The requirement is to accomplish this without using aws SDKs but instead use a message broker's (IIB) builtin functionalities.

I am the aws account admin - How do i generate all the parameters required for the API call? for example in the sample below

GET https://iam.amazonaws.com/?Action=ListUsers&Version=2010-05-08 HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=utf-8
Host: iam.amazonaws.com
X-Amz-Date: 20150830T123600Z
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Developer & EE Moderator
Fellow 2018
Most Valuable Expert 2013
Commented:
I started here, https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/Welcome.html and found the link about making requests, https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-making-api-requests.html. That brought me to information on signing without using an sdk. https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html   

You will see there are also links for more details and sample code.

The example shown is
https://sqs.eu-west-2.amazonaws.com/   
?Action=CreateQueue
&DefaultVisibilityTimeout=40
&QueueName=MyQueue
&Version=2012-11-05
&AUTHPARAMS

Open in new window


The tricky part will be creating teh AUTHPARAMS and that is what the links I provided will help you with.

I think you may get more detailed help if you provide some code you are using on  your own after reviewing the documentation and explain the errors you are getting and expected output as well as which server side language you are using.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial