From 929f6feceae88fd8c0ce8b65c53cf0919116f4da Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 31 Aug 2022 13:03:55 -0500 Subject: [PATCH 1/2] PYTHON-3256 Update error message --- bindings/python/pymongocrypt/mongocrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/pymongocrypt/mongocrypt.py b/bindings/python/pymongocrypt/mongocrypt.py index 371696357..0fd8dc127 100644 --- a/bindings/python/pymongocrypt/mongocrypt.py +++ b/bindings/python/pymongocrypt/mongocrypt.py @@ -804,7 +804,7 @@ def _ask_for_kms_credentials(kms_providers): return if not _HAVE_AUTH_AWS: raise RuntimeError( - "MONGODB-AWS authentication requires pymongo-auth-aws: " + "On-demand requires pymongo-auth-aws: " "install with: python -m pip install 'pymongo[aws]'" ) creds = _aws_temp_credentials() From 8035e0b6895dfabcebb66d7183d12c4da03a53f4 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Wed, 31 Aug 2022 13:04:22 -0500 Subject: [PATCH 2/2] update message --- bindings/python/pymongocrypt/mongocrypt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/pymongocrypt/mongocrypt.py b/bindings/python/pymongocrypt/mongocrypt.py index 0fd8dc127..08e4b1548 100644 --- a/bindings/python/pymongocrypt/mongocrypt.py +++ b/bindings/python/pymongocrypt/mongocrypt.py @@ -804,7 +804,7 @@ def _ask_for_kms_credentials(kms_providers): return if not _HAVE_AUTH_AWS: raise RuntimeError( - "On-demand requires pymongo-auth-aws: " + "On-demand AWS credentials require pymongo-auth-aws: " "install with: python -m pip install 'pymongo[aws]'" ) creds = _aws_temp_credentials()