maybe we need less coupling here.
```
credentials = get_credentials()
get_connection(credentials)
```
what do you think?