ldap-teamsync/.env.example.aad

98 строки
3.1 KiB
Plaintext
Исходник Обычный вид История

2021-03-22 07:13:27 +03:00
#########################
## 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
2021-12-22 00:47:29 +03:00
## Uncomment if you are using a self-signed certificate on GitHub Enterprise.
## Defaults to False.
2021-12-22 22:20:53 +03:00
#VERIFY_SSL=False
2021-03-22 07:13:27 +03:00
## User directory to sync GitHub teams from
## Azure AD = AAD
## Active Directory = LDAP
## OpenLDAP = LDAP
USER_DIRECTORY=AAD
## Attribute to compare users with
## username or email
USER_SYNC_ATTRIBUTE=username
2021-03-22 07:13:27 +03:00
#######################
## Azure AD Settings ##
#######################
## Azure Tenant ID
AZURE_TENANT_ID="<tenant_id>"
## Azure Service Principal Client ID
AZURE_CLIENT_ID="<client_id>"
## Azure Service Principal Client Secret
AZURE_CLIENT_SECRET="<client_secret>"
## Azure AD directory scopes. If you have multiple directories, separate them by spaces
2021-03-22 18:53:35 +03:00
## i.e. "Group.Read Directory.Read User.read"
## Default: .default (all permissions scoped to this service principal)
AZURE_APP_SCOPE=".default"
2021-03-22 07:13:27 +03:00
## API endpoint for Azure AD (Graph) group member queries
AZURE_API_ENDPOINT="https://graph.microsoft.com/v1.0"
## Custom attribute for usernames
2022-05-26 15:50:02 +03:00
## When using an extensionAttribute it will automatically
## pick it from the nested onPremisesExtensionAttributes.
2021-03-23 03:52:16 +03:00
AZURE_USERNAME_ATTRIBUTE=userPrincipalName
2021-03-24 15:38:17 +03:00
## If we don't have a custom username attribute, we'll
## need to make sure the username matches what's in
## GitHub. This will take the UPN and split the
## string on "@", making user@example.com just "user"
## in order to match GitHub.
## This should not be necessary if you add a new
## attribute for user mapping
## Default: false
2022-05-26 15:53:15 +03:00
#AZURE_USER_IS_UPN=true
## If we want to support nested group memberships
## this will use transitive members apis instead of
## direct member apis
## Default: false
#AZURE_USE_TRANSITIVE_GROUP_MEMBERS=true
2021-03-22 07:13:27 +03:00
#########################
## 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
2021-12-22 00:47:29 +03:00
ADD_MEMBER=false
2022-05-13 21:25:35 +03:00
## Automatically remove users from the organisation that are not part of a team
REMOVE_ORG_MEMBERS_WITHOUT_TEAM=false
2021-03-22 07:13:27 +03:00
####################
## 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