r/PowerShell • u/codeMonkeyfarmer • Jul 02 '21
Question Powershell password manager?
Hey all. Have non-admin powershell at work. IT is slow here due to being quite busy, but PS is available. 5.x. Would like a program like keepass for my engineering group (we have a lot of logins and people write them in text files), but even the portable version is locked down (no unapproved exe) - would there be a sensible way to approximate keepass for a normal user via a PS script without admin access?
2
u/Nosa2k Jul 02 '21
You can always use the System account. This way you don’t have to hardcode your credentials
0
u/mprz Jul 02 '21
If unapproved exe is not allowed then how do you want to run it via PS?
2
u/codeMonkeyfarmer Jul 02 '21
Well I can run any powershell module or script I like. The nuget package manager works. Not sure if I need to run an exe that end up being blocked… hence the question.
2
u/mprz Jul 02 '21
Don't you think it would be quite silly to block programs directly but allow to run them via script?
5
u/codeMonkeyfarmer Jul 02 '21
Yes but here we are.
-6
u/mprz Jul 02 '21
Yes, going back and forth when trying it would take you literally a minute...
4
u/codeMonkeyfarmer Jul 02 '21
You’re clearly brighter than I am. Sorry what do you mean?
-4
u/mprz Jul 02 '21
I am wondering why don't you just try. I am just not seeing a purpose for OP when one, you can try yourself and two, nobody else is able to give you any answer as they are not familiar with your environment and its restrictions....
4
u/codeMonkeyfarmer Jul 02 '21
It blocks “unregistered” exe’s. And anything that triggers UAC. But powershell can run. Does that clear it up for you?
-3
u/mprz Jul 02 '21
Ah, I didn't ask for explanation, this was clear from OP. I've suggested (twice already) for you to try. And mentioned how silly the idea is.
I am only surprised that somehow you think it would work...
2
3
Jul 02 '21
How incredibly unhelpful you've been in this whole thread. You seem to be under the impression he wants to launch keepass from powershell. That's not what he said at all. He wants something that works similar to keepass but runs in powershell.
Why even post in this kind of forum if you're going to be a jerk? People come here for help.
-4
u/mprz Jul 02 '21
Well, how very observant of you to notice that after I've already admitted I've misunderstood the request, mr that-never-happened-to-me!
2
1
u/numblock699 Jul 02 '21 edited May 28 '24
desert sink teeny smell middle quicksand exultant connect provide hungry
This post was mass deleted and anonymized with Redact
9
u/kaluaabyss Jul 02 '21
https://github.com/PowerShell/SecretManagement
With SecretStore vault type they could each have an encrypted password vault contained in their user profile.