Store login credentials from the current login()
using the rememberMe = TRUE
parameter. You should use the rememberMe
feature on a personal computer of which you are the only Synapse user.
Visit the Python synapseclient
docs and R synapser
docs for examples.
Synapse configuration parameters for frequently used client-interactions can be set in a specific file. By default, the file is in the user’s home directory and is called .synapseConfig
. For example, you can set:
Please note the period at the beginning of the file which makes this a hidden, system file on Linux-like OS’s since it will contain sensitive information.
When you install the Synapse Python client, a .synapseConfig
file filled with examples should appear in your home directory if a configuration file is not already present. You can uncomment and fill out the parameters of interest.
You may also customize a .synapseConfig
file when you install the Synapse R client.
From your Synapse homepage, navigate to your user menu and select Settings from the drop-down menu. Your Synapse API key is made visible by selecting Show API Key. In the case the confidentiality of the API key is compromised, or you would like to invalidate your API key, select Change API Key.
Try posting a question to our Forum.
Let us know what was unclear or what has not been covered. Reader feedback is key to making the documentation better, so please let us know or open an issue in our Github repository (Sage-Bionetworks/synapseDocs).