I am reading this document Authenticating Rest Requests
The first paragraph says ..
Every non-anonymous request to S3 must contain authentication information to establish the identity of the principal making the request. In REST, this is done by first putting the headers in a canonical format, then signing the headers using your AWS Secret Access Key.
There are two ways to send your signature with a request. The first is to put your AWS Access Key ID and the signature you computed into the Authorization header.
My 1st question is-
Is AWS Secret Access Key the same as AWS Access Key ID? if not the same, Where do I get the AWS Secret Access Key and AWS Access Key ID?
My 2nd question is about 'signature you computed'
I understand that this signature is computed like this -
String signatureYouComputed = base64(hmac-sha1(VERB + "\n" + CONTENT-MD5 + "\n" + CONTENT-TYPE + "\n" + DATE + "\n" + CanonicalizedAmzHeaders + "\n" + CanonicalizedResource))
Here how do i get CONTENT-MD5, CanonicalizedAmzHeaders, and CanonicalizedResource?
I know these are basic questions for experienced integration developers but not for everyone. Please help me understand.