code: def create_curl_config(outgoing_trust, key, cert):
      config_file = "ssl-config.curlrc"
      with open(config_file, "w") as out:
          out.write(f"key       /ssl-config/{key}\n")
          out.write(f"cert      /ssl-config/{cert}\n")
          out.write(
              f'cacert    /ssl-config/{outgoing_trust["trust"]}\n'
          )
      return [config_file]
  
file_path: hail/tls/create_certs.py
imports: import argparse
  import json
  import shutil
  import subprocess
  import tempfile
  import yaml
label_desc: Use image node_id 6 for calling a global function with example usage: create_curl_config(outgoing_trust, key, cert) and returns: list