# AWS Lambda integration with OAuth

**URL:** <https://community.hubspot.com/t/aws-lambda-integration-with-oauth/79762>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [April 20, 2023, 4:56pm UTC](https://community.hubspot.com/t/aws-lambda-integration-with-oauth/79762 "2023-04-20T16:56:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FMaiolo](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@FMaiolo](https://community.hubspot.com/u/FMaiolo)\
**Post date:** [April 20, 2023, 4:56pm UTC](https://community.hubspot.com/t/aws-lambda-integration-with-oauth/79762/1 "2023-04-20T16:56:34Z")

</div>

Since the API keys are deprecated, I’m looking at way to handle events from a separate system using an AWS Lambda function and call into Hubspot to create/update/delete contacts. It appears that using the OAuth authentication, I need to supply a redirect URL which requires user interaction. Is this correct? I don’t see how that would work.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 22, 2023, 12:12am UTC](https://community.hubspot.com/t/aws-lambda-integration-with-oauth/79762/2 "2023-04-22T00:12:38Z")

</div>

Hi, @FMaiolo. Thanks for your question. Let’s invite some community members to the conversation — hey @nikodev @Teun, have you tackled anything similar to this recently?

Thank you for taking a look.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![FMaiolo](https://avatars.discourse-cdn.com/v4/letter/f/e47774/32.png) [@FMaiolo](https://community.hubspot.com/u/FMaiolo)\
**Post date:** [April 24, 2023, 8:06pm UTC](https://community.hubspot.com/t/aws-lambda-integration-with-oauth/79762/3 "2023-04-24T20:06:32Z")

</div>

Ok, I created a ‘Private App’ and basically store the Private App’s Access Key in AWS Secrets. That seems to work for getting a list of contacts. Are there any limitations with Private Apps?
