cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

REST API on security gateway?

tarjei
Organizer

Is it possible to access the REST API on the Dynatrace Managed server through the security gateway?

Meaning: The Security Gateway acts as a forward proxy for the Managed Cluster?

6 REPLIES 6

wolfgang_beer
Dynatrace Champion
Dynatrace Champion

Yes that's possible. We introduced that to enable customers to set up a publicly accessible security gateway to route the API calls from public internet to the Dynatrace server residing in a cooperate network.

Awesome! Was not aware!

tarjei
Organizer

Only from publicly accessible gateways? What If I want to have some of my network devices post metrics? https://www.dynatrace.com/support/help/dynatrace-a... Is that not possible?

And Wolfgang: How do I enable it?

By the way, this is dynatrace managed I am talking about

wolfgang_beer
Dynatrace Champion
Dynatrace Champion

Yes I understand its DT Managed. I am talking about our Dynatrace REST API that is documented here:

https://www.dynatrace.com/support/help/dynatrace-a...

I am NOT talking about the internal REST API that is used by our UI. The functionality is available out of the box, so you can call the API (don't forget to add the environment ID in the path) through the Gateway. A simple call to check if forwarding works is to request the actual cluster time, which is possible without authentication:

https://<GATEWAY>/e/<ENVIRONMENT>/api/v1/time

Question: Does the API token need to be created on the Public Security Gateway, or on the Environment?

Never mind, worked it out.