No release in over 3 years
Low commit activity in last 3 years
The azure-signature library generates storage signatures for Microsoft Azure's cloud platform. You can use this to access Azure storage services - tables, blobs, queues and files.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3

Runtime

 Project Readme

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