Redact AWS session token from client repr

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      NguyenCong2k has created PR #2803: PYTHON-XXXX Redact AWS session token from client repr in mongo-python-driver

      Issue Text:

        1. Summary
      • redact AWS session tokens in auth mechanism properties before rendering client repr
      • keep existing username/password redaction behavior unchanged
      • add sync and async regression coverage
        1. Test
          ```powershell
          python -m pytest test
          test_client.py::ClientUnitTest::test_repr_redacts_aws_session_token test\\asynchronous
          test_client.py::AsyncClientUnitTest::test_repr_redacts_aws_session_token -q
          ```

            Assignee:
            Noah Stapp
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: