Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-Credential throws exception when credential not already stored #11

Open
corbob opened this issue Aug 11, 2018 · 0 comments
Open

Get-Credential throws exception when credential not already stored #11

corbob opened this issue Aug 11, 2018 · 0 comments
Assignees
Labels

Comments

@corbob
Copy link

corbob commented Aug 11, 2018

Get-Credential is trying to load a credential object even if it's not been stored yet. This causes an exception to be thrown.

May be related to #9 as well.

If we wrap module Line 351 with setting ErrorActionPreference to SilentlyContinue it seems that this would resolve it.

Alternately I imagine changing the CredentialManagement.Store class function Load() to not throw an exception on line 198 might be the more elegant solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants