By using AWS re:Post, you agree to the Terms of Use

EventBridge API Destination Connection Without Authentication

0

Is it possible to send an event to an http endpoint that has no basic/api key/ oauth? In the console when creating the connection for the API destination you must select at least one form of auth.

asked 8 months ago304 views
2 Answers
3

It seems the service requires authentication information, however, if the endpoint you are communicating with has not auth requirements, just use API Key as the method and create some dummy header with some dummy value.

profile picture
EXPERT
answered 8 months ago
1

Yes, this is possible. I am successfully invoking Microsoft Teams web hooks that way. The API destination needs to be setup with Authorization type "API Key". The secret value may be anything, e.g. a dummy value such as:

{
  "api_key_name": "no",
  "api_key_value": "key"
}

This also works through CloudFormation.

answered 8 months ago
  • Sorry, I didn't see Uri's answer before posting mine.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions