A.1.8 What is an alternative solution to oml.connect() for Oracle Machine Learning solutions deployment?

For Oracle Machine Learning solutions deployment, every UDF has its own oml.connect(). Instead of hard-coding credentials into the oml.connect statement, is there an alternative solution that can work on multiple database environments?