// Format the auth date | |
attAmzAuthDate = attAmzDate.split("T")[0]; | |
// Define string to sign | |
attStringToSign = 'AWS4-HMAC-SHA256\n' + attAmzDate + '\n' + attAmzAuthDate + '/' + attRegion + '/' + attService + '/aws4_request\n'+ attCanonicalRequestHash; | |
System.log("The string to sign is: " + '\n' + '\n' + attStringToSign + '\n'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment