Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
BP3 Global Inc
US
Last activity: 2 Nov 2022 12:10 EDT
Best way to authenticate AWS REST calls in Pega
I'm attempting to make a REST call to an AWS endpoint in Pega. AWS has a special authentication method, which consists of a Key-Secret Key pair. When testing my service in Postman, it's pretty straight-forward; I choose AWS authentication and it asks for my AccessKey and SecretKey. When making the call, Postman automatically creates the authentication headers according to the guidelines here: https://docs.aws.amazon.com/AmazonS3/latest/userguide/RESTAuthentication.html
I was hoping it would be this easy in Pega, but the documentation notes "Amazon Web Services authentication profiles are supported only by Amazon S3 BLOB storage repositories; this authentication profile is not supported in connectors."
I'd prefer not to add Java code to my Pega component just to create the necessary headers, but I'm running out of ideas of what else to try. Has anyone else come up with an elegant way to call AWS APIs with Pega?