Configuring dipper with keys and passwords¶
Add private configuration parameters into your private conf.json file. Examples of items to put into the config include:
- database connection parameters (in the “dbauth” object)
- ftp login credentials
- api keys (in the “keys” object)
These are organized such that within any object (dbauth, keys, etc), they are keyed again by the source’s name.
Here is an example:
{
"keys": {
"omim" : "foo",
},
"dbauth" : {
"mgi" : {
"user" : "bar",
"password" : "baz"
}
}
This file must be placed in the dipper package directory and named conf.json. If building locally this is in the dipper/dipper/ directory. If installed with pip this will be in path/to/env/lib/python3.x/site-packages/dipper/ directory.