A Poor
A Poor

Reputation: 1064

How can I set up ui-less external API auth using AWS?

I'm trying to create an external API using AWS API Gateway that will give users access to data stored in multiple databases. The APIs will mostly be accessed through scripts rather than through a web UI.

Are there any AWS services I can use to manage user access to my API?

I've read a little bit about Amazon Cognito and OAuth 2 but at a glance it seems like those might be more targeted towards cases with a UI for users to interact with. Is there a way to create and manage API keys with AWS?

Thanks in advance for your help!

Upvotes: 2

Views: 97

Answers (1)

Juan Gamez
Juan Gamez

Reputation: 21

You can use API Gateway Lambda Authorizer to write your custom login integration. For example a lambda that check in one Database if the user:password (passed as authorization header) exists in table in DynamoDB or SQL.

Upvotes: 1

Related Questions