Tyk-Gateway:
On above line, which eventually goes to tyk.conf, we have a shared secret which is defined statically. Question is why?
Appreciate your take/response to the above Q.
Thank you.
Tyk-Gateway:
On above line, which eventually goes to tyk.conf, we have a shared secret which is defined statically. Question is why?
Appreciate your take/response to the above Q.
Thank you.
Hi Deep-Patel,
The static secret you see in the Tyk source code is there as a default to make local development and testing easy, basically to simplify initial setup. However, this value is only a placeholder and it’s may not be secure for production use.
This secret is critical for securing API access and internal communications. Leaving the default value unchanged could put your system at risk, It’s essentially a placeholder that must be replaced before deploying to any public or production environment.
For any real-world deployment, you may:
-Generate a strong secret
-Set it in either: Your tyk.conf file, or The TYK_GW_SECRET environment variable. You could check this (Key Value Secrets Storage for Configuration in Tyk) for supported Key Value Secrets Storage for Configurations in Tyk
Thanks Isaac. It all makes sense.