SystemCredentialStoreObject
✖
SystemCredentialStoreObject
Details


- Credential stores are also called keychains or keyrings, depending on the operating system used.
- assoc is an Association containing the details needed to use a specific credential store.
- The keys used in assoc include:
-
"Backend" the store back end to use "Keyring" the keyring to use "EncryptedFileBase" location of the "EncryptedFile" - "Backend" specifies which of the available credential store implementations to use.
- On Windows, the default back end is "System", which represents Windows Credential Manager.
- On macOS, the default back end is "System", which represents Apple's Keychain Access password management system.
- On Linux, the default back end is "EncryptedFile". Linux can also use "KWallet" or "LibSecret" backends if they are available.
- The "EncryptedFile" back end is available on all platforms and the Wolfram Cloud.
- For the "EncryptedFile" back end, an optional "EncryptedFileBase" key may be used to specify the location of the encrypted file. The default location is in $UserBaseDirectory/ApplicationData/Credentials.
- A specific back end may support one or several separate keyrings that store secrets. "Keyring" specifies which of the keyrings is to be used.
- Depending on the back end used, a specific keyring may need to be unlocked to be used. The system will prompt for a password to unlock the keyring if needed.
- On Windows, the "System" keyring is the only keyring supported by the Windows Credential Manager.
- On macOS and Linux, it is possible to create multiple keyrings. To manage keyrings, operating system–specific tools must be used.
- For the "EncryptedFile" back end, the name of the encrypted file is based on the "Keyring" value.
- With the setting "Keyring"Automatic, on macOS, the keyring set by the operating system is used.
Examples
open allclose allBasic Examples (1)Summary of the most common use cases
Give the current SystemCredentialStoreObject:

https://wolfram.com/xid/01k3274x65cs7f0ia-h3zspo


https://wolfram.com/xid/01k3274x65cs7f0ia-dg1p65

Reset the credential store to the default:

https://wolfram.com/xid/01k3274x65cs7f0ia-hqxg9k

Scope (2)Survey of the scope of standard use cases
A typical default setting for macOS:

https://wolfram.com/xid/01k3274x65cs7f0ia-j8xim9

A typical default setting for Windows:

https://wolfram.com/xid/01k3274x65cs7f0ia-jubklg


https://wolfram.com/xid/01k3274x65cs7f0ia-efav55

If no suitable OS-provided keychain is available, an "EncryptedFile" store is used by default:

https://wolfram.com/xid/01k3274x65cs7f0ia-8a26ev

Generalizations & Extensions (2)Generalized and extended use cases
Give the current SystemCredentialStoreObject:

https://wolfram.com/xid/01k3274x65cs7f0ia-v2ah22


https://wolfram.com/xid/01k3274x65cs7f0ia-564b6

https://wolfram.com/xid/01k3274x65cs7f0ia-9jxn0j

Temporarily use another credential store without setting it as a default:

https://wolfram.com/xid/01k3274x65cs7f0ia-xqi930
Retrieve the value from the default credential store:

https://wolfram.com/xid/01k3274x65cs7f0ia-4i8nqt

Retrieve the value from the alternative credential store:

https://wolfram.com/xid/01k3274x65cs7f0ia-6ncb9o

Wolfram Research (2020), SystemCredentialStoreObject, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html.
Text
Wolfram Research (2020), SystemCredentialStoreObject, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html.
Wolfram Research (2020), SystemCredentialStoreObject, Wolfram Language function, https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html.
CMS
Wolfram Language. 2020. "SystemCredentialStoreObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html.
Wolfram Language. 2020. "SystemCredentialStoreObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html.
APA
Wolfram Language. (2020). SystemCredentialStoreObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html
Wolfram Language. (2020). SystemCredentialStoreObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html
BibTeX
@misc{reference.wolfram_2025_systemcredentialstoreobject, author="Wolfram Research", title="{SystemCredentialStoreObject}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html}", note=[Accessed: 21-April-2025
]}
BibLaTeX
@online{reference.wolfram_2025_systemcredentialstoreobject, organization={Wolfram Research}, title={SystemCredentialStoreObject}, year={2020}, url={https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html}, note=[Accessed: 21-April-2025
]}