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

EventBridge API Destination Connection Without Authentication


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

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
answered 8 months ago

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