RSSAmplifier

lennybacon.com · Apr 27, 2023

Using the Windows Credential Manager from PowerShell

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I was automating some Azure DevOps tasks using a scheduled task and PowerShell and needed the ability to authenticate. As the credentials should not be in clear text in the script I wanted to use the Windows Credential Manager. [void][Windows.Security.Credentials.PasswordVault,Windows.Security.Credentials,ContentType=WindowsRuntime] $vault = New-Object Windows.Security.Credentials.PasswordVault…

Read on lennybacon.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.