https://github.com/winebarrel/faraday_middleware-aws-sigv4
Faraday middleware for AWS Signature Version 4 using aws-sigv4.
https://github.com/winebarrel/faraday_middleware-aws-sigv4
Keywords
aws faraday ruby
Keywords from Contributors
feature-flag
Last synced: 40 minutes ago
JSON representation
Repository metadata
Faraday middleware for AWS Signature Version 4 using aws-sigv4.
- Host: GitHub
- URL: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Owner: winebarrel
- License: mit
- Created: 2017-09-11T06:31:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2026-02-16T17:31:53.000Z (15 days ago)
- Last Synced: 2026-02-20T19:25:11.159Z (11 days ago)
- Topics: aws, faraday, ruby
- Language: Ruby
- Homepage:
- Size: 276 KB
- Stars: 41
- Watchers: 1
- Forks: 19
- Open Issues: 0
- Releases: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
README.md
FaradayMiddleware::AwsSigV4
Faraday middleware for AWS Signature Version 4 using aws-sigv4.
Required dependency version
| version | ruby | faraday |
|---|---|---|
>= 1.0.0 |
>= 2.5 |
>= 2.0 |
>= 0.6.0 |
>= 2.4 |
>= 1.8 |
>= 0.5.0 |
>= 2.4 |
>= 0.15 |
>= 0.3.0 |
>= 2.3 |
>= 0.15 |
< 0.3.0 |
- | < 0.15 |
Installation
Add this line to your application's Gemfile:
gem 'faraday_middleware-aws-sigv4'
And then execute:
$ bundle
Or install it yourself as:
$ gem install faraday_middleware-aws-sigv4
Usage
require 'faraday_middleware/aws_sigv4'
require 'pp'
conn = Faraday.new(url: 'https://apigateway.us-east-1.amazonaws.com') do |faraday|
faraday.request :aws_sigv4,
service: 'apigateway',
region: 'us-east-1',
access_key_id: ENV['AWS_ACCESS_KEY_ID'],
secret_access_key: ENV['AWS_SECRET_ACCESS_KEY']
# see http://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Sigv4/Signer.html
faraday.response :json, content_type: /\bjson\b/
# NOTE: If you need to send case sensitive headers like `x-amz-access-token` in `SP API`.
# cf. https://github.com/lostisland/faraday/issues/747#issuecomment-439864181
faraday.adapter Faraday.default_adapter
end
res = conn.get '/account'
pp res.body
#=> {"_links"=>
# {"curies"=>
# {"href"=>
# "http://docs.aws.amazon.com/apigateway/latest/developerguide/account-apigateway-{rel}.html",
# "name"=>"account",
# "templated"=>true},
# "self"=>{"href"=>"/account"},
# "account:update"=>{"href"=>"/account"}},
# "throttleSettings"=>{"rateLimit"=>10000.0, "burstLimit"=>5000}}
Upgrading from faraday_middleware-aws-signers-v4
If you previously provided the service_name option, you need to rename it service
Test
bundle install
bundle exec appraisal install
bundle exec appraisal faraday-2.7 rake
Related Links
Owner metadata
- Name: Genki Sugawara
- Login: winebarrel
- Email:
- Kind: user
- Description:
- Website: https://so-wh.at/
- Location: Japan
- Twitter: sgwr_dts
- Company:
- Icon url: https://avatars.githubusercontent.com/u/117768?u=170e742c9da64b18fbdb676bfb644bb994695a28&v=4
- Repositories: 397
- Last ynced at: 2024-05-01T10:39:43.443Z
- Profile URL: https://github.com/winebarrel
GitHub Events
Total
- Delete event: 56
- Pull request event: 118
- Fork event: 1
- Watch event: 1
- Issue comment event: 3
- Push event: 74
- Pull request review event: 8
- Create event: 51
Last Year
- Delete event: 34
- Pull request event: 75
- Issue comment event: 1
- Push event: 38
- Pull request review event: 1
- Create event: 30
Committers metadata
Last synced: 1 day ago
Total Commits: 198
Total Committers: 7
Avg Commits per committer: 28.286
Development Distribution Score (DDS): 0.556
Commits in past year: 55
Committers in past year: 2
Avg Commits per committer in past year: 27.5
Development Distribution Score (DDS) in past year: 0.127
| Name | Commits | |
|---|---|---|
| winebarrel | s****a@w****p | 88 |
| dependabot[bot] | 4****] | 71 |
| winebarrel | s****s@y****p | 19 |
| Quentin Rousseau | c****t@q****n | 8 |
| Genki Sugawara | s****a@c****m | 7 |
| Michael Treacher | 9****r | 3 |
| Max Schwenk | m****k@g****m | 2 |
Committer domains:
- cookpad.com: 1
- quent.in: 1
- yahoo.co.jp: 1
- winebarrel.jp: 1
Issue and Pull Request metadata
Last synced: 3 days ago
Total issues: 8
Total pull requests: 146
Average time to close issues: about 1 month
Average time to close pull requests: 4 days
Total issue authors: 8
Total pull request authors: 8
Average comments per issue: 1.0
Average comments per pull request: 0.41
Merged pull request: 127
Bot issues: 1
Bot pull requests: 91
Past year issues: 1
Past year pull requests: 54
Past year average time to close issues: 2 minutes
Past year average time to close pull requests: 23 minutes
Past year issue authors: 1
Past year pull request authors: 2
Past year average comments per issue: 0.0
Past year average comments per pull request: 0.0
Past year merged pull request: 49
Past year bot issues: 1
Past year bot pull requests: 46
Top Issue Authors
- olleolleolle (1)
- matuszewskijan (1)
- toshimaru (1)
- Judobob (1)
- dependabot[bot] (1)
- andxyz (1)
- kwent (1)
- hatricker (1)
Top Pull Request Authors
- dependabot[bot] (91)
- winebarrel (48)
- andrew (2)
- hdoan741 (1)
- kwent (1)
- danbee (1)
- treacher (1)
- maschwenk (1)
Top Issue Labels
- dependencies (1)
- github_actions (1)
Top Pull Request Labels
- dependencies (91)
- ruby (83)
- github_actions (8)
Package metadata
- Total packages: 10
-
Total downloads:
- rubygems: 227,345,164 total
- Total docker downloads: 2,675,217,500
- Total dependent packages: 14 (may contain duplicates)
- Total dependent repositories: 794 (may contain duplicates)
- Total versions: 38
- Total maintainers: 1
gem.coop: faraday_middleware-aws-sigv4
Faraday middleware for AWS Signature Version 4 using aws-sigv4.
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Documentation: http://www.rubydoc.info/gems/faraday_middleware-aws-sigv4/
- Licenses: MIT
- Latest release: 1.0.1 (published over 3 years ago)
- Last Synced: 2026-03-02T02:03:00.167Z (2 days ago)
- Versions: 15
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 113,682,356 Total
- Docker Downloads: 1,337,608,750
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Docker downloads count: 0.071%
- Average: 0.074%
- Downloads: 0.225%
- Maintainers (1)
rubygems.org: faraday_middleware-aws-sigv4
Faraday middleware for AWS Signature Version 4 using aws-sigv4.
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Documentation: http://www.rubydoc.info/gems/faraday_middleware-aws-sigv4/
- Licenses: MIT
- Latest release: 1.0.1 (published over 3 years ago)
- Last Synced: 2026-02-28T21:01:15.415Z (3 days ago)
- Versions: 15
- Dependent Packages: 14
- Dependent Repositories: 794
- Downloads: 113,662,808 Total
- Docker Downloads: 1,337,608,750
-
Rankings:
- Downloads: 0.264%
- Docker downloads count: 0.322%
- Dependent repos count: 1.192%
- Dependent packages count: 2.237%
- Average: 3.152%
- Forks count: 6.405%
- Stargazers count: 8.492%
- Maintainers (1)
ubuntu-23.04: ruby-faraday-middleware-aws-sigv4
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Licenses:
- Latest release: 0.3.0-2 (published 21 days ago)
- Last Synced: 2026-02-11T06:39:09.050Z (21 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-23.10: ruby-faraday-middleware-aws-sigv4
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Licenses:
- Latest release: 0.3.0-2 (published 18 days ago)
- Last Synced: 2026-02-13T18:19:40.301Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-11: ruby-faraday-middleware-aws-sigv4
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Documentation: https://packages.debian.org/bullseye/ruby-faraday-middleware-aws-sigv4
- Licenses:
- Latest release: 0.3.0-2 (published 21 days ago)
- Last Synced: 2026-02-13T08:20:07.476Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
ubuntu-22.04: ruby-faraday-middleware-aws-sigv4
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Licenses:
- Latest release: 0.3.0-2 (published 18 days ago)
- Last Synced: 2026-02-13T13:16:37.648Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-faraday-middleware-aws-sigv4
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Documentation: https://packages.debian.org/bookworm/ruby-faraday-middleware-aws-sigv4
- Licenses:
- Latest release: 0.3.0-2 (published 19 days ago)
- Last Synced: 2026-02-12T23:29:02.897Z (19 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-faraday-middleware-aws-sigv4
- Homepage: https://github.com/winebarrel/faraday_middleware-aws-sigv4
- Documentation: https://packages.debian.org/trixie/ruby-faraday-middleware-aws-sigv4
- Licenses:
- Latest release: 1.0.1-2 (published 19 days ago)
- Last Synced: 2026-02-13T13:15:11.979Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- appraisal >= 2.2 development
- aws-sdk-core >= 3.124.0 development
- bundler >= 0 development
- faraday_middleware >= 0 development
- rake >= 0 development
- rspec ~> 3.0 development
- rubocop >= 1.8.0 development
- rubocop-rake >= 0 development
- rubocop-rspec >= 0 development
- simplecov >= 0 development
- simplecov-lcov >= 0 development
- timecop >= 0 development
- aws-sigv4 ~> 1.0
- faraday >= 1.8, < 2
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
Score: 27.448342481541577