forked from 3rd-party-integrations/github-team-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example.googleworkspace
More file actions
82 lines (76 loc) · 2.53 KB
/
.env.example.googleworkspace
File metadata and controls
82 lines (76 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#########################
## GitHub App Settings ##
#########################
## Webhook Secret
WEBHOOK_SECRET=development
## GitHub App ID
APP_ID=12345
## Private Key Path
PRIVATE_KEY_PATH=.ssh/team-sync.pem
## Uncomment the following line and use your own GitHub Enterprise
## instance if this will not be used on https://github.com
#GHE_HOST=github.example.com
## Uncomment if you are using a self-signed certificate on GitHub Enterprise.
## Defaults to False.
#VERIFY_SSL=False
## User directory to sync GitHub teams from
## Azure AD = AAD
## Active Directory = LDAP
## OpenLDAP = LDAP
## Okta = OKTA
## OneLogin = ONELOGIN
## Google Workspace = GOOGLE_WORKSPACE
USER_DIRECTORY=GOOGLE_WORKSPACE
## Attribute to compare users with, username or email
## For Google Workspace, the username option will use the specefied custom schema attribute
USER_SYNC_ATTRIBUTE=username
###############################
## Google Workspace Settings ##
###############################
## Location of the Google Workspace service account credentials file
GOOGLE_WORKSPACE_SA_CREDS_FILE=googleAuth.json
## Email of a Google Workspace Admin account the service account will impersonate
GOOGLE_WORKSPACE_ADMIN_EMAIL=admin@example.com
## Email attribute to use for syncing users, not required if syncing by username
## Default: primaryEmail
# GOOGLE_WORKSPACE_USER_MAIL_ATTRIBUTE=
## Custom schema name
## Not required if syncing by email
GOOGLE_WORKSPACE_USERNAME_CUSTOM_SCHEMA_NAME=schema-name
## Custom schema attribute field name
## Not required if syncing by email
GOOGLE_WORKSPACE_USERNAME_FIELD=field-name
#########################
## Additional settings ##
#########################
## Stop if number of changes exceeds this number
## Default: 25
#CHANGE_THRESHOLD=25
## Create an issue if the sync fails for any reason
## Default: false
#OPEN_ISSUE_ON_FAILURE=true
## Where to open the issue upon sync failure
#REPO_FOR_ISSUES=github-demo/demo-repo
## Who to assign the issues to
#ISSUE_ASSIGNEE=githubber
## Sync schedule, cron style schedule
## Default (hourly): 0 * * * *
SYNC_SCHEDULE=0 * * * *
## Show the changes, but do not make any changes
## Default: false
#TEST_MODE=false
## Automatically add users missing from the organization
ADD_MEMBER=false
## Automatically remove users from the organisation that are not part of a team
REMOVE_ORG_MEMBERS_WITHOUT_TEAM=false
####################
## Flask Settings ##
####################
## Default: app
FLASK_APP=app
## Default: production
FLASK_ENV=development
## Default: 5000
FLASK_RUN_PORT=5000
## Default: 127.0.0.1
FLASK_RUN_HOST=0.0.0.0