Module AWS::Core::Signer
In: lib/aws/core/signer.rb

This module provides a {sign} method that accepts a secret and a string to sign.

Methods

hmac   sign  

Public Instance methods

Computes an HMAC digest of the passed string. @param [String] key @param [String] value @param [String] digest (‘sha256’) @return [String]

Signs a string using the credentials stored in memory. @param [String] secret Usually an AWS secret access key. @param [String] string_to_sign The string to sign. @param [String] digest_method The digest method to use when

  computing the HMAC digest.

@return [String] Returns the computed signature.

[Validate]