Module win32cred
Interface to credentials management functions.
The functions in this module are only available on Windows XP and later.
Functions operate only on the credential set of the calling user.
User's profile must be loaded for stored credentials to be accessible.
Each credential is uniquely identified by its TargetName and Type.
All functions accept keyword arguments.
Methods
- CredMarshalCredential
- Marshals a credential into a unicode string
- CredUnmarshalCredential
- Unmarshals credentials formatted using win32cred::CredMarshalCredential
- CredIsMarshaledCredential
- Checks if a string matches the form of a marshaled credential
- CredEnumerate
- Lists stored credentials for current logon session
- CredGetTargetInfo
- Determines type and location of credential target
- CredWriteDomainCredentials
- Creates or updates credential for a domain or server
- CredReadDomainCredentials
- Retrieves a user's credentials for a domain or server
- CredDelete
- Deletes a stored credential
- CredWrite
- Creates or updates a stored credential
- CredRead
- Retrieves a stored credential
- CredRename
- Changes the target name of stored credentials
- CredUICmdLinePromptForCredentials
- Prompt for username/passwd from a console app
- CredUIPromptForCredentials
- Initiates dialog to request user credentials
- CredUIConfirmCredentials
- Confirms whether credentials entered by user are valid or not
- CredUIReadSSOCredW
- Retrieves single sign on username
- CredUIStoreSSOCredW
- Creates a single sign on credential
- CredUIParseUserName
- Parses a full username into domain and username