Skip to content

JPRuskin/PS.SecretsManagement.LastPass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Secrets Management LastPass Extension

This is an attempt at a LastPass Secrets Management extension, inspired by @JustinWGrote's SecretsManagement.KeePass.

It's entirely possible that, due to the bizarre way SecretsManagement currently handles script modules, you will be prompted to login every time you access a vault. This is due to SecretsManagement creating a new PS session every time anything is done with a script module, which is clearly an interesting design decision from a script-based perspective.

Using the Module

# Register LastPass by running the SecretsManagement registration command
Register-SecretsVault -Name LastPass -ModuleName SecretsManagement.LastPass

# Get a list of available secrets, showing only names and (roughly) type of content
Get-SecretInfo

# Get a list of available secrets like Azure*
# Get-SecretInfo -Filter "Azure*"

Requirements

Module Version
Microsoft.PowerShell.SecretsManagement 1.0

Building the Module

Testing the Module

Thanks / Acknowledgements

Though I started trying to play with this on my own, it turns out (as ever) that someone (in this case @ScottEvtuch) had done everything I was trying to already in PSLastPass. Consequently, there are currently several bits that have been wholeheartedly borrowed.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published