key property

String key
getter/setter pair

The name of the credential. The TargetName (or the key) and Type members uniquely identify the credential. This member cannot be changed after the credential is created. Instead, the credential with the old name should be deleted and the credential with the new name created.

more info go to https://docs.microsoft.com/en-us/windows/win32/api/wincred/ns-wincred-credentiala#members

Implementation

String key;