Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-signature

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-signature

  • 0.3.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Description

A Ruby library for generating an authentication signature for Azure storage services.

Installation

gem install azure-signature

Synopis

require 'azure/signature'

key = "SGVsbG8gV29ybGQ="
url = "http://testsnapshots.blob.core.windows.net/Tables"

sig = Azure::Signature.new(url, key)

# Look at canonical URL
p sig.canonical_url # => "/testsnapshots/Tables"

# Get a signature with the defaults
p sig.signature(:table)

# Or pass some options
p sig.signature(:table, :auth_string => true, :date => some_date, :verb => 'PUT')

Acknowledgements

I borrowed the code to canonicalize resources and headers from the azure-sdk-for-ruby project.

License

Apache-2.0

http://www.apache.org/licenses/LICENSE-2.0

Warranty

This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose.

Author

Daniel Berger

FAQs

Package last updated on 19 Mar 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc