SystemCredential
SystemCredential["keyname"]
gives the expression stored under "keyname" in secure storage.
Details
- Expressions can be stored with SystemCredential["keyname"]=expr.
- Expressions that can be stored in SystemCredential include:
-
"string" secret string such as password SystemCredentialData general-purpose key-value pairs SecuredAuthenticationKey credentials for an external service - Expressions stored under "keyname" can be removed with Unset[SystemCredential["keyname"]].
- SystemCredential uses the operating system's keychain, if possible. If no secure storage is available, it stores its secrets in an encrypted local file.
- Under Windows and macOS, the data is by default stored in the default keychain provided.
- Under Linux, one of the supported wallet systems can be used.
Examples
open allclose allBasic Examples (3)
Applications (1)
Create a SecuredAuthenticationKey with credentials from an external service, using two-legged OAuth:
Properties & Relations (3)
List all names of securely stored data:
Remove stored data for a given key name:
Use SystemCredentialKey"keyname" to securely store authentication dialog fields between sessions:
The data is remembered in secure storage under the given name:
Possible Issues (1)
Text
Wolfram Research (2020), SystemCredential, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemCredential.html.
CMS
Wolfram Language. 2020. "SystemCredential." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemCredential.html.
APA
Wolfram Language. (2020). SystemCredential. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemCredential.html