forked from CogStack/working_with_cogstack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcredentials.py
24 lines (18 loc) · 989 Bytes
/
credentials.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from typing import List
# CogStack login details
## Any questions on what these details are please contact your local CogStack administrator.
hosts: List[str] = [] # This is a list of your CogStack ElasticSearch instances.
## These are your login details (either via http_auth or API) Should be in str format
username = None
password = None
api_key = None # Encoded api key issued by your cogstack administrator.
# NLM authentication
# The UMLS REST API requires a UMLS account for the authentication described below.
# If you do not have a UMLS account, you may apply for a license on the UMLS Terminology Services (UTS) website.
# https://documentation.uts.nlm.nih.gov/rest/authentication.html
# UMLS api key auth
umls_apikey = None
# SNOMED authentication from NHS TRUD. International releases will require different API access creds.
# api key auth from NHS TRUD
# For more information please see: https://isd.digital.nhs.uk/trud/users/guest/filters/0/api
snomed_apikey = None