Environment Variables For Public API Docs

Hello, I am currently evaluating Apidog to be our new API documentation and testing tool. Is it possible to block public users from accessing the Environment Management dialog in the “Try it out” interface? In the attached screenshot I’ve circled the “Go to set value” link that opens the Environment Management dialog.

Additionally, is it possible to mark variables as secret so they don’t show the actual values to public users (e.g. Environment Management dialog and Actual Request tab in Response)?

I would like potential customers to be able to test our endpoints while protecting secrets that make it possible.

Thank you,
Justin

Hi, thanks for the feedback. For this situation, you could create a new environment that only contains the variable name without filling in the variable value. Then, when sharing the document, select only this new environment.

Hi Evans, thank you for the response. I want the environment variables to be populated, just not visible to end users or masked as secrets. Is this possible?

We plan to add the feature of masking secret environment variables in the App.

Okay, great! Do you have a rough limeline for when it would release?

An exact time cannot yet be provided.

Hi, the feature has been launched, you can update to the latest version to use it.


Awesome, thanks for letting me know. I’ll check it out.