def get_default_keychain(user=None, domain="user"):
    cmd = "security default-keychain -d {0}".format(domain)
    return __salt__['cmd.run'](cmd, runas=user)
Get the default keychain
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_keychain.py/get_default_keychain