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

9.9k Views Asked by At

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..

1

There are 1 best solutions below

2
On
  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