API Gateway endpoint Authentication from ServiceNow

0

Hi,

Have a few Services run via API Gateway in multiple AWS accounts. I am trying to invoke API Gateway from the ServiceNow platform, so trying to figure out how can I authenticate API Gateway without storing credentials locally into ServiceNow. There are some limitations on the ServiceNow platform as below:

  • The ServiceNow platform supports only Native JavaScript and cannot import any external packages like aws_auth etc to generate signatures to authenticate API.
  • I do not want to write a whole function to generate Signature4 into ServiceNow which requires a store access key and secret_key to store into ServiceNow.
  • Can we use the IAM role to authenticate API from the external app?

Please suggest on best approach to avoid regular kyes/password rotation, storing locally into ServiceNow.

1개 답변
0

Have you looked into lambda authorizers? https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-use-lambda-authorizer.html

You could pass a token and api key from service now which then gets validated by the api gateway authorizer

profile picture
전문가
답변함 5달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인