Is your feature request related to a problem? Please describe.
Actually in current python authentification is managed in api configuration.
But when you instantiate a new configuration, a new thread poll is create with it, so each time you need to change your authentification key, you will create a thread poll which will pull down the performance of the application.
We could have a global configuration and change the authentification but it will not be thread safe.
Describe the solution you'd like
The solution was already developed in python-legacy but it has not be migrated.
As designed in this PR #6569
Overwrite the authentification in the request