docs: async def prover_create_master_secret(wallet_handle: int,
                                        master_secret_name: Optional[str]) -> str:
      """
      Creates a master secret with a given name and stores it in the wallet.
      The name must be unique.
  
      :param wallet_handle: wallet handler (created by open_wallet).
      :param master_secret_name: (optional, if not present random one will be generated) new master id
      :return: id of generated master secret.
      """
  
      logger = logging.getLogger(__name__)
      logger.debug("prover_create_master_secret: >>> wallet_handle: %r, master_secret_name: %r",
                   wallet_handle,
                   master_secret_name)
  
      if not hasattr(prover_create_master_secret, "cb"):
          logger.debug("prover_create_master_secret: Creating callback")
          prover_create_master_secret.cb = create_cb(CFUNCTYPE(None, c_int32, c_int32, c_char_p))
  
      c_wallet_handle = c_int32(wallet_handle)
      c_master_secret_name = c_char_p(master_secret_name.encode('utf-8')) if master_secret_name else None
  
      out_master_secret_id = await do_call('indy_prover_create_master_secret',
                                           c_wallet_handle,
                                           c_master_secret_name,
                                           prover_create_master_secret.cb)
  
      res = out_master_secret_id.decode()
      logger.debug("prover_create_master_secret: <<< res: %r", res)
      return res