I have a zero-trust solution that has to following requirements
1. upon DataGrip startup, I'd like to trigger a script that will generate a list of servers (endpoints) that the user have access to, so they'll appear in the Database list.
2. Upon connecting to a DB, the connection will need to trigger another script that will return a temporary username and password for this DB connection.
How can I achieve this?