Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between the Password Vault and the Credential Manager in Windows 8?

I'm using the CredentialPicker class in order to present a familiar UI. This, as expected, stores a credential in the Credential Manager of Windows. EDIT: sample code here

However, the recommended way to store username/passwords seems to be the PasswordVault API - Best practice for saving sensitive data in Windows 8 - which looks like a different system altogether?

What is the correct way to both 1. present the familiar UI and 2. add, access and remove username/ passwords in a metro-style app?

I'm using C#, but C++ and JS answers would be fine..

like image 684
rikkit Avatar asked Jul 11 '12 15:07

rikkit


1 Answers

  1. Use a Settings Pane to put your login fields into.
  2. Use the PasswordVault to store the credentials for your app.
  3. Take a look at this sample: http://code.msdn.microsoft.com/windowsapps/PasswordVault-f01be74a
like image 116
Michael S. Scherotter Avatar answered Oct 04 '22 16:10

Michael S. Scherotter