-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Python Drivers
-
Not Needed
-
The changes in PYTHON-4260 broke MONGODB-AWS credential caching. One issue is that set_use_cached_credentials() is no longer called. Another is that we try to call pymongo_auth_aws.set_cached_credentials which doesn't exist:
[2024/03/26 12:59:10.177] except Exception: [2024/03/26 12:59:10.177] # Clear the cached credentials if we hit a failure in auth. [2024/03/26 12:59:10.177] > pymongo_auth_aws.set_cached_credentials(None) [2024/03/26 12:59:10.177] E AttributeError: module 'pymongo_auth_aws' has no attribute 'set_cached_credentials' [2024/03/26 12:59:10.177] pymongo/auth_aws.py:97: AttributeError