code: async def get_encryption_aes_key(self) -> Tuple[bytes, Dict[str, str], str]:
          
  
          random_bytes = os.urandom(32)
  
          padder = PKCS7(AES.block_size).padder()
          padded_result = await self._loop.run_in_executor(
              None, lambda: (padder.update(random_bytes) + padder.finalize()))
  
          aesecb = self._cipher.encryptor()
          encrypted_result = await self._loop.run_in_executor(
              None, lambda: (aesecb.update(padded_result) + aesecb.finalize()))
  
          return random_bytes, {}, base64.b64encode(encrypted_result).decode()
docs: Get encryption key to encrypt an S3 object
  
          :return: Raw AES key bytes, Stringified JSON x-amz-matdesc, Base64 encoded x-amz-key