code: def test_upload_file_with_signed_url_session_sse_kms(self):
      session = mock.Mock()
      file = mock.Mock()
      signed_write_url = (
          "http://somwhere.s3.amazonaws.com/someimage.png"
      )
      client = ApiWorkflowClient(token="")
      # set the environment var to enable SSE with KMS
      sseKMSKey = "arn:aws:kms:us-west-2:123456789000:key/1234abcd-12ab-34cd-56ef-1234567890ab"
      os.environ[LIGHTLY_S3_SSE_KMS_KEY] = sseKMSKey
      client.upload_file_with_signed_url(
          file=file, signed_write_url=signed_write_url, session=session
      )
      session.put.assert_called_with(
          signed_write_url,
          data=file,
          headers={
              "x-amz-server-side-encryption": "aws:kms",
              "x-amz-server-side-encryption-aws-kms-key-id": sseKMSKey,
          },
      )
  
file_path: lightly/tests/api_workflow/test_api_workflow_client.py
imports: import os
  import platform
  import unittest
  from unittest import mock
  import requests
  from pytest_mock import MockerFixture
  import lightly
  from lightly.api.api_workflow_client import LIGHTLY_S3_SSE_KMS_KEY, ApiWorkflowClient
label_desc: Use image node_id 4 for calling the TestApiWorkflowClient obj's underlying member method code with example usage: obj.test_upload_file_with_signed_url_session_sse_kms() without return types