<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write_monitor_keyring(keyring, monitor_keyring, uid=-1, gid=-1):
 """create the monitor keyring file"""

    write_file(keyring, monitor_keyring, 0o600, None, uid, gid)