Skip to content

Generate AWS Signature, which can be used while integrating AWS Services with you software/code/microservice

Notifications You must be signed in to change notification settings

hectorvp/AWS_Signature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Folder Structure

The workspace contains two folders by default, where:

  • src: the folder to maintain sources
  • lib: the folder to maintain dependencies

Input

HTTP message in taken as input in JSON format, JSON structure is

{
"service": "ec2",
"region": "us-east-1",
"key": "23478207027842073230762374023",
"endpoint": "https://ec2.amazonaws.com",
"requestMethod": "GET",
"algorithm": "AWS4-HMAC-SHA256",
"headers": {
"Content-Type": "application/json",
"x-amz-Date": "Mon, 12 Nov 2007 10:49:58 GMT"
},
"body": null
}

Driver Code

Signature sn = new Signature();
sn.getSignature();

This driver code is written in APP.java, one can check it as a reference

Output

Output is the signature as shown below:
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Dependencies

  • shiro-core.jar
  • org.json.jar
  • json-canonicalizer.jar

About

Generate AWS Signature, which can be used while integrating AWS Services with you software/code/microservice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages