Skip to content

vrimkus/PowerCredential

Repository files navigation

PowerCredential

Module for secure storage/retreival of PSCredential objects

A set of PowerShell Cmdlets for encrypting/decrypting PSCredential objects that can then stored and retreived.

Designed to be used in scripts to prevent hardcoded credentials.
By utilizing the Machine-level RSA key container, any administrator on the machine containing the stored credentials can then have access to them.

Initially conceptualized as a way of allowing a Scheduled Task to run as SYSTEM and still allow access to network resources via Domain credentials.

Can even be called from other types of scripts, such as Batch files, that do not have any built-in functionality of storing credentials, other than in plaintext.
*See included GetCredential.bat (can be placed in a location listed in PATH environment var and called as a command)

About

Module for secure storage/retreival of PSCredential objects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published