Config.json in Azure API Management

Lily 136 Reputation points
2022-01-10T07:15:27.077+00:00

Hi, is there a way to hide Config.json in Azure API Management ?

We find visiting config.json from APIM portal will expose following info.
163519-image.png

Though the GUIDs of subscription and resources group are fake and cannot be accessed from this URL, we still want to know if there's a way to hide those information to avoid potential attack.

Thank you

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 20,481 Reputation points MVP Volunteer Moderator
    2022-01-10T16:08:55.86+00:00

    Due to integration considerations, certain system file's properties can't be able to alter, including config.json
    Reference here: api-management-howto-developer-portal-customize

    0 comments No comments

  2. Jacco van den Berg 0 Reputation points
    2025-10-20T13:19:40.3066667+00:00

    Although the content cannot be altered, the config.json exposes the URL of the Management API and the Resource Name.
    Is there a way to hide this information?
    The reference-site does not mention the config.json anymore.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.