Ability to package environment/local variables with an API service

It would be very helpful if Dataiku allowed for packaging variables (either environment or local variables) with the capability to remap local variables as part of the deployment. Ideally there would also be an option to encrypt a variable. We have several API services that connect to other systems and require environment specific connection details, including sensitive information like credentials.
This could work similar to environment variables in AWS Lambda functions:
Comments
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,252 Neuron
I am confused, the API node already supports having connection details in its config file and remapping connections as well, see API node configuration:
-
This would go beyond DSS connections. In our python API services, we programmatically hit other APIs and connect to other systems that are not configured as DSS connections. We also have environment specific variables that can be used in various ways throughout the code. We can set environment variables on the nodes but that is not ideal. I can provide examples if needed.