A dictionary containing information for a CREDENTIAL struct
- Search for CREDENTIAL struct at [msdn](http://search.msdn.microsoft.com/search/results.aspx?view=msdn&query=CREDENTIAL struct.md), [google](http://www.google.com/search?q=CREDENTIAL struct.md) or [google groups](http://groups.google.com/groups?q=CREDENTIAL struct.md).
-
int Flags
Combination of CRED_FLAGS_PROMPT_NOW, CRED_FLAGS_USERNAME_TARGET
-
int Type
Type of credential, one of CRED_TYPE_* values
-
PyUnicode TargetName
Target of credential, can end with * for wildcard matching
-
PyUnicode Comment
Descriptive text
-
PyTime LastWritten
Modification time, ignored on input
-
PyUnicode CredentialBlob
Contains password for username credential, or PIN for certificate credential. This member is write-only.
-
int Persist
Specifies scope of persistence, one of CRED_PERSIST_* values
-
tuple Attributes
Tuple of PyCREDENTIAL_ATTRIBUTE dicts containing application-specific data, can be None
-
PyUnicode TargetAlias
Alias for TargetName, only valid with CRED_TYPE_GENERIC
-
PyUnicode UserName
User to be authenticated by target. Can be of the form username@domain or domain\\username.
For CRED_TYPE_DOMAIN_CERTIFICATE, use win32cred::CredMarshalCredential to marshal the SHA1 hash of user's certficate
A dictionary containing information for a CREDENTIAL_ATTRIBUTE struct
- Search for CREDENTIAL_ATTRIBUTE at msdn, google or google groups.
-
PyUnicode Keyword
Attribute name, at most CRED_MAX_STRING_LENGTH chars
-
int Flags
Reserved, use only 0
-
str Value
Attribute value, at most CRED_MAX_VALUE_SIZE bytes. Unicode objects are treated as raw bytes.
A dictionary representing a CREDENTIAL_TARGET_INFORMATION struct
- Search for CREDENTIAL_TARGET_INFORMATION at msdn, google or google groups.
-
PyUnicode TargetName
Target of credentials
-
PyUnicode NetbiosServerName
-
PyUnicode DnsServerName
-
PyUnicode NetbiosDomainName
-
PyUnicode DnsDomainName
-
PyUnicode DnsTreeName
-
PyUnicode PackageName
Name of security package which mapped TargetName
-
int Flags
CRED_TI_* flags
-
(int,...) CredTypes
Tuple of CRED_TYPE_* values indicating which types of credentials are acceptable to target