def unlock_keychain(keychain, password):
 cmd = 'security unlock-keychain -p {0} {1}'.format(password, keychain)
 __salt__['cmd.run'](cmd)

def unlock_keychain ( keychain , password ) : cmd = 'security unlock-keychain -p {0} {1}' . format ( password , keychain ) __salt__ [ 'cmd.run' ] ( cmd )
unlock the given keychain with the password keychain the keychain to unlock password the password to use to unlock the keychain .