Hi,
I am trying to create a topic so that I can use it to listen for object creation
notifications on a bucket.
If I make my API call without supplying AWS authorization headers, the topic creation
succeeds, and it can be seen by using a ListTopics call.
However, in order to attach a topic to a bucket, the topic and bucket must have the same
owner. So I tried creating a topic using AWS auth.
The credential header I tried was the same as what I use for get/put items to a bucket:
Credential=<access key id>/20200512/us-east-1/s3/aws4_request
However in this case rather than succeeding I get a NotImplemented error.
If I tried changing the service in the credential to something other than s3, like
"Credential=<access key id>/20200512/us-east-1/s3/aws4_request" I instead
get a SignatureDoesNotMatch error. What is the right way to authenticate a CreateTopic
request?
Thanks,
Alexis