Hi,
I would like to know what is the best way to make a hosted target environment aware? Thus When the Hosted target run in Dev, QA and PROD it should use associated variables per environment. Almost like a KVM
So I have the following ideas:
1. I know that you can add environmental variables to the app.yaml file. If possible can a example be shared on how to configure a unique x-api-key per environment which will be used in the Hosted Target. I know that you can also add KVM values into the app.yaml values on deployment of the API. Also have not yet got that working.
2. I can use a KVM in the base proxy and pass the variables to the hosted target in headers. Not sure if there is any issue in doing it this way? If number 1 is possible then which one would be preferred
3. Deploy each environment version in its own revision. This is not ideal and can version control issues.
Any other suggestions or ideas?