Socket
Socket
Sign inDemoInstall

@bu-sail/cargo-middleware

Package Overview
Dependencies
203
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bu-sail/cargo-middleware

The Cargo Middleware is an AWS S3 Client middleware which takes place after the AWS signing portion to add the signature from the Cargo Server. For each request, the middleware will capture the request, authenticate the JWT, check for authorization to ac


Version published
Weekly downloads
0
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Cargo Middleware

The Cargo Middleware is an AWS S3 Client middleware which takes place after the AWS signing portion to add the signature from the Cargo Server. For each request, the middleware will capture the request, authenticate the JWT, check for authorization to access the given resource, then provide the AWS signature and body hash.

Using the Middleware

For example usage of the middleware see samples/src/main.ts which shows a working example. Add in your Cargo Server endpoint and a working JWT to try the sample.

FAQs

Last updated on 11 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc