Get Secure Credentials
Retrieves the credentials from a specified target from the Windows Credential Manager as a secure string (password) and a string (username). Additionally, a boolean value is returned to let you know if the process was successful or not.
Input
- Target: The website address or network location for which to retrieve the credentials stored in the Windows Credential Manager.
- Type:
System.String - Required
- Type:
- Credential Type: The credential type of the credentials that you want to retrieve from the Windows Credential Manager. If the type does not coincide with that of the credentials you are trying to retrieve, an error is thrown.
- Type:
System.Int32 - Required
- Dropdown Options:
- Generic
- Domain Password
- Domain Certificate
- Domain Visible Password
- Generic Certificate
- Domain Extended
- Type:
- Persistence Type: The persistence type of the credentials that you want to retrieve from the Windows Credential Manager. If the persistence type does not coincide with that of the credentials you are trying to retrieve, an error is thrown.
- Type:
System.Int32 - Required
- Dropdown Options:
- Session
- Local Machine
- Enterprise
- Type:
Output
- Found: A boolean variable that indicates whether the credentials of the given target were successfully retrieved from the Windows Credential Manager.
- Type:
System.Boolean
- Type:
- Username: The username retrieved for the specified target, as a string variable.
- Type:
System.String
- Type:
- Password: The password retrieved for the specified target, as a secureString type.
- Type:
System.Security.SecureString
- Type: