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.