I'm using CredWriteW
to store some credentials and persisting through the user session. As we will have to store the credentials for lots of different accounts, I'm wondering: is there some kind of limit as to how many credentials can be stored on the credential manager?
CodePudding user response:
The documentation you posted already clarified the limit for the number of credentials stored. Windows only allows up to 20 credentials per app.
The documentation Credentials Processes in Windows Authentication details in Credential storage and validation. It is not always desirable to use one set of credentials for access to different resources.
It includes Remote logon credential processes, Automatic restart sign-on credential process and Windows Vault, etc.