SystemCredentialStoreObject
SystemCredentialStoreObject[assoc]
represents a credential store.
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)
Give the current SystemCredentialStoreObject:
Scope (2)
Generalizations & Extensions (2)
Give the current SystemCredentialStoreObject:
Temporarily use another credential store without setting it as a default:
Text
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.
APA
Wolfram Language. (2020). SystemCredentialStoreObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SystemCredentialStoreObject.html