Creating an action that interfaces with API authenticated via AWS Signature Version 4

In my GPT, I’m trying to create an action that interfaces with an AWS API that is authenticated with AWS Signature Version 4. Basically, Amazon gives you an “Access Key” and a “Secret Key” to authenticate against the API.

In the Authentication box that pops up when I create an action in my GPT, I see radio buttons that let you choose among “None”, “API Key” and “OAuth” for Authentication Type. I select API Key assuming that this is the authentication type AWS API’s use. Then I’m presented with only one text area to enter an “API Key”, however I have two credentials that Amazon gave me, an Access Key and a Secret Key. Furthermore, there is are radio buttons below for Auth Type that give you the option to select among Basic, Bearer, and Custom. Which options should I select to authenticate against AWS API’s and where should I enter the Access Key and Secret Key AWS gives me?

Thank you,
Mete

Without the ability to generate dynamic AWS SigV4 signatures directly within the GPT builder, it’s not possible to create a fully functional custom action to interact with the Amazon Selling Partner API using just the access key and secret key. You would need additional backend infrastructure or a different approach to handle the authentication process.

1 Like

Thank you for the insight Nick. We are building an intermediary API that will sit between the Amazon APi and the GPT.