Skip to content

Instantly share code, notes, and snippets.

View fedeonline's full-sized avatar
🗿
Writing code

Federico Pugnaloni fedeonline

🗿
Writing code
View GitHub Profile
@jtsaito
jtsaito / api-gateway-signed-request-ruby.MD
Last active December 2, 2022 11:17
Signing requests for AWS API Gateway in Ruby

The AWS API Gateway supports signed requests as follows. The API Gateway client can use IAM credentials to sign a request in two steps:

  1. The original request headers and body are signed using the SDK supplied by AWS and the credentials
  2. The signature sets the X-Amz-SignedHeaders header

In practice, there are two ways for signing from a Ruby client using the AWS SDK: (1) signing with a Faraday plugin, (2) creating a Specific Gateway client using the Seahorse API declaration.

Here is a code snippet for the more quick and dirty Faraday solution.

@magnetikonline
magnetikonline / README.md
Last active March 14, 2024 22:48
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.