Skip to content

A PowerShell module with a set of functions to handle storing credentials in a keyring file (CliXml)

License

Notifications You must be signed in to change notification settings

csandfeld/KeyChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build status

About KeyChain

KeyChain is a simple module you can use to store credentials for later use. The module simply assign a key (a tag or label if you will) to a credential object, and store the object in an XML file, made with the Export-CliXml.

Credentials are stored by exporting PSCredential objects to XML with the Export-CliXml Cmdlet.

The PSCredential object use the Data Protection Application Programming Interface (DPAPI) to encrypt the password, alowing only the user account that entered the password to decrypt it. The encryption key is stored in the user profile. Thus credentials exported to an XML file are safe from prying eyes.

For more about the KeyChain module see: https://github.com/csandfeld/KeyChain/blob/master/KeyChain/en-US/about_KeyChain.help.txt

For more about DPAPI see: https://msdn.microsoft.com/en-us/library/ms995355.aspx

About

A PowerShell module with a set of functions to handle storing credentials in a keyring file (CliXml)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published