Having two versions of collection - one private, one public

Hello all. I need to have a specific version of the documentation, including passwords, test urls, etc… and a public version of the documentation where such information is omitted.
Those versions should be holding hands: the only thing changing is the private info, the rest is updated equally on both. Is this possible, how can I do it?

I’ve already tried version control, which is not the case and API versioning, which is required to have an API created but still nothing updates equally in different versions.

1 Like

Hi @patcorreia,

Ideally, we should not have sensitive information as part of the documentation. One workaround could be to use the environment variable as a replacement for sensitive information. Have the environment created locally which is not available for public use.