SystemCredentialData[assoc,"pwfield"]
represents data intended for secure credential storage.
SystemCredentialData
SystemCredentialData[assoc,"pwfield"]
represents data intended for secure credential storage.
Details
- assoc is an Association containing keys and values to be stored. Keys and values must be strings.
- The key named "pwfield" in the association assoc is treated as secret.
- SystemCredentialData[assoc] is equivalent to SystemCredentialData[assoc,"Password"].
Examples
Basic Examples (2)
Add a record with a username and password in secure storage:
SystemCredential["example"] = SystemCredentialData[<|"Username" -> "myname", "Password" -> "very secret"|>]Retrieve a record from secure store given its name:
SystemCredential["example"]Securely store a record of key-value pairs, with the "Passphrase" field being the secret:
SystemCredential["example.com"] = SystemCredentialData[<|
"Username" -> "myname",
"Email" -> "user@example.com",
"Passphrase" -> "secret value"
|>, "Passphrase"]Retrieve the stored information:
SystemCredential["example.com"]Related Guides
History
Text
Wolfram Research (2020), SystemCredentialData, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemCredentialData.html.
CMS
Wolfram Language. 2020. "SystemCredentialData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemCredentialData.html.
APA
Wolfram Language. (2020). SystemCredentialData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemCredentialData.html
BibTeX
@misc{reference.wolfram_2026_systemcredentialdata, author="Wolfram Research", title="{SystemCredentialData}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/SystemCredentialData.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_systemcredentialdata, organization={Wolfram Research}, title={SystemCredentialData}, year={2020}, url={https://reference.wolfram.com/language/ref/SystemCredentialData.html}, note=[Accessed: 13-June-2026]}