TL;DR: I wrote a Scala library to sign HTTP requests to AWS endpoints. UPDATE: This library is deprecated, see README on Github.
I recently had to use the ElasticSearch service offered by Amazon. They only expose an HTTP endpoint (no TCP), and every requests you fire needs to be authenticated following their very own strict procedure. Forget about the simple oauth token! In this case, each requests needs to be authenticated using a mix of credentials and the request itselfs - headers, method, host and so forth. All this information is combined and hashed several times; AWS does the same at its end with the request it receives, and the final hashes need to match. The procedure is described here in the official AWS documentation.
This all sounds very fit for a library, and indeed I found this JAVA proejct on Github which does the job very well. At the same time this project also embeds some additional functionality I didn’t need, so I decided to port it to Scala, leaving behind the extra stuff. The result is in the AWS Request Signer.
The readme explains its simple usage. Improvements are always possible so please don’t hesitate to suggest them or contribute yourself!
All Tags |
The Netherlands |
61
|
amsterdam |
35
|
Bicycle |
19
|
Chile |
18
|
Valparaiso |
15
|
Australia |
13
|
Art |
12
|
nepal |
8
|
scala |
8
|
akka |
6
|
Santiago |
5
|
France |
4
|
Gouda |
4
|
Paris |
4
|
akka-stream |
3
|
akka-streams |
3
|
dashain |
3
|
everest trek |
3
|
india |
3
|
Italy |
3
|
Melbourne |
3
|
Perth |
3
|
Road trip |
3
|
Rotterdam |
3
|
akka-http |
2
|
Argentina |
2
|
code |
2
|
custom_image |
2
|
custom_summary |
2
|
Delft |
2
|
event-sourcing |
2
|
Geraldton |
2
|
Haarlem |
2
|
leaf_bundle |
2
|
Lille |
2
|
Milan |
2
|
New Delhi |
2
|
New York |
2
|
Punta Arenas |
2
|
Rome |
2
|
Ushuaia |
2
|
Websocket |
2
|
Abcoude |
1
|
akka-cluster |
1
|
amazon web services |
1
|
android |
1
|
aws |
1
|
Berlin |
1
|
Bloemendaal |
1
|
Brisbane |
1
|
chitwan |
1
|
Circus Maximum |
1
|
covid19 |
1
|
Enkhuizen |
1
|
Esperance |
1
|
Fraser Island |
1
|
gps |
1
|
gpx |
1
|
guitars |
1
|
iot |
1
|
Isla Negra |
1
|
japan |
1
|
java |
1
|
Kalgoorlie |
1
|
kathmandu |
1
|
Las Vegas |
1
|
LoPy |
1
|
lora |
1
|
Markem |
1
|
Matisse |
1
|
Mexico |
1
|
Middelburg |
1
|
misc |
1
|
Muiden |
1
|
planning |
1
|
play |
1
|
reactjs |
1
|
refluxjs |
1
|
Reims |
1
|
San Francisco |
1
|
Sodaq |
1
|
Sydney |
1
|
Texel |
1
|
Theo Van Doesburg |
1
|
tokyo |
1
|
Travel |
1
|
tulips |
1
|
USA |
1
|
webjars |
1
|
Weesp |
1
|