CredImport finished and renamed to CredWrite

This commit is contained in:
2016-05-17 14:47:41 +02:00
parent fda660a752
commit ef1e46aa78
12 changed files with 139 additions and 67 deletions

20
CredWrite/README.md Normal file
View File

@@ -0,0 +1,20 @@
#CredWrite
Imports given credentials to Windows Credential Manager for GEANTLink use
##Usage
```
CredWrite <username> <password> [<realm>]
```
- `username` - a user name usually of the form user@domain
- `password` - Base64 encoded UTF-8 user password
- `realm` - A realm ID to allow grouping of credentials over different WLAN profiles (optional, default is domain part of `username`)
The credentials are stored to Windows Credential Manager in invoking user's roaming profile.
Return codes:
- -1 = Invalid parameters
- 0 = Success
- 1 = Error parsing command line
- 2 = Error encrypting password
- 3 = Error writing credentials to Credential Manager