Here is a function that formats timestamp calculates signature using secret key and \'string_to_sign\' which is \'request_description\' in my case.