Pass Credentials to Datasource (postgres or json)

Check this thread