Requirement : We need to create and read environment specific configurations on Adobe IO project i.e WCS Commerce API urls and different namespace based on different environment(Dev, Prod)
We followed steps provided in document
1- Created .env file in workspace.
2- Provided AIO_RUNTIME_APIHOST , AIO_RUNTIME_AUTH and AIO_RUNTIME_NAMESPACE
3- Deployed code base .
Issue 1: Unable to pick credentials provided in .env file.
Issue 2: How to read environment specific variables in node.js code base .
On issue #1 Sarah Xu already answered. On issue #2, can you give us more details about what you are trying to do?