21 Nov 2017
11:20 PM
- last edited on
26 May 2021
04:50 AM
by
MaciejNeumann
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?
Solved! Go to Solution.
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!
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
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.