Class: RightAws::AwsUtils
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.sign(aws_secret_access_key, auth_string) ⇒ Object
29 30 31 |
# File 'lib/awsbase/right_awsbase.rb', line 29 def self.sign(aws_secret_access_key, auth_string) Base64.encode64(OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new("sha1"), aws_secret_access_key, auth_string)).strip end |