Hello there!
I have a use-case where I need to run a python script which interacts with a postgres database. That database requires an open connection via boundary.
I’ve gathered that I can execute arbitrary commands using boundary connect --exec python3 myscript.py
however I am not sure the best method to ensure the retrieved credentials (database username/password) are accessible by my python script.
I saw certain connection details are available using this style of string replacement {{boundary.addr}}
but it is limited to just a few non-credential pieces of information.
Is there an expected way to feed credentials into an arbitrary script or CLI tool?
Thanks!