win32cred.CredWrite
CredWrite(Credential, Flags)
Creates or updates a stored credential
Parameters
Comments
When updating a credential, to preserve a previously stored password use None or '' for CredentialBlob member of Credential and pass CRED_PRESERVE_CREDENTIAL_BLOB in Flags