Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OIC REST Connector for Datadog requires 2 API Keys

edited Mar 10, 2024 2:31PM in Integration

Summary:

Hi all,

I am trying to POST Logs to Datadog directly from an OIC Integration.

The datadog API POST https://http-intake.logs.datadoghq.com/api/v2/logs

The API requires 2 Authorisation keys

  • DD-API-KEY
  • DD-APPLICATION-KEY

question

How can I configure an OIC Connector that can manage the 2 Keys? Using API Key Authentication, it only provides option for specifying one key - I have set up the connector with API Key Based Authentication, added the API Key and in the usage field added

-H DD-API-KEY ${api-key}

Currently, as I also need to provide DD-APPLCATION-KEY I have added it as a custom header on the REST Call in the integration - the problem with this is that the key is in plain text and visible when trace is on.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!