I am trying to integrate Storj gateway MT instance to a third party service.
That service allows authentication to any API based web service through its API endpoint & other credentials.
Just guessing that it may include some authentication header key-value pairs like:
<some_keyname_for_serialized_access_grant> : <value_of_my_serialized_access_grant>
<some_keyname_for_access_key> : <value_of_my_access_key>
<some_keyname_for_secret key> : <value_of_my_secret_key>
So my query is:
What are those actual endpoint names & the key names required for authenticate/list/get/post functionalities with Storj gateway S3-compatible MT instance?
Further, which type of authentication do we need to use for HTTP API requests?
i.e. API-key based, OAuthv2, digest based, etc etc
Am I missing something here? Or any other thing needed to be taken care of?
https://gateway.tardigradeshare.io is an S3 compatible Gateway, and understands much of the S3 API. As a result, we haven’t spent a lot of time duplicating the S3 API documentation!
Please see the S3 API documentation for an explanation of endpoints and authorization. When you register with our gateway (either via the web interface or the uplink CLI), you should get back a specific S3 API compatible Access Key and Secret Key, and you can use those exactly like you would if you were talking to S3 directly (but to our Gateway instead).
Here’s example documentation for how to get an object (with example HTTP requests) against the S3 API.
Not yet, largely because we are working to fill in gaps. If you have an account on our beta satellite us2.tardigrade.io, most of the multipart features work, but that isn’t currently true of the other Satellites.
Please let us know what feature you need if you find a gap.
The AWS docs are extremely confusing for me. I mean I am totally clueless there.
Kindly provide some example or sample instructions, so that I may test the same through Postman GUI etc.
Examples which I tried through Postman:
URL: https://gateway.tardigradeshare.io
Request type: GET
Authorization Type: AWS Signature
In Authorization tab, I entered my AccessKey & SecretKey
On hitting the request, I got the response
`AuthorizationParametersError` Error parsing the Credential/X-Amz-Credential parameter; incorrect service. This endpoint belongs to "s3"./<some_string>
Instead of using Postman, you should consider using an existing S3 client library. S3’s API isn’t particularly REST friendly. If you do want to write your own library for the S3 protocol, you will at very least need to implement the AWS v4 signature format: https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html