Skip to content

Commit ea9a0fa

Browse files
committed
switch to python-decouple for env variables
1 parent c9a91ff commit ea9a0fa

File tree

4 files changed

+271
-203
lines changed

4 files changed

+271
-203
lines changed

.env.sample

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# NZ ORCID Hub authentication
2+
HUB_ID = ""
3+
HUB_SECRET = ""
4+
5+
# ORCID authentication
6+
ORCID_API_ID = ""
7+
ORCID_API_SECRET = ""
8+
9+
# From ORCID
10+
PUBLIC_ACCESS_TOKEN = ""
11+
12+
ORCID_API_VERSION = "v3.0"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
credentials.json
1+
.env

credentials.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)