-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from github/primetheus/environment-secrets
Added support for environment secrets
- Loading branch information
Showing
3 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,9 @@ github: | |
# GitHub. To use on github.com, simply use https://api.github.com | ||
#server_url: https://api.github.com | ||
server_url: https://github.example.com/api/v3 | ||
token: <token> | ||
# This is an optional override for the environment secret | ||
# GITHUB_TOKEN= | ||
#token: <token> | ||
|
||
ldap: | ||
# A list of server hostnames or IP addresses to try connecting to | ||
|
@@ -79,7 +81,9 @@ ldap: | |
# Active Directory bind user. This must be in <user>@<domain> format | ||
bind_user: [email protected] | ||
# The password to use for binding | ||
bind_password: asqw!234 | ||
# This is an optional override for the environment secret | ||
# AD_BIND_PASSWORD= | ||
#bind_password: asqw!234 | ||
# Set the page size (default is 1000) | ||
page_size: 1000 | ||
``` | ||
|
@@ -104,7 +108,8 @@ optional arguments: | |
team that are not present in the AD group, and adding | ||
users to the GitHub Team that are in the AD group | ||
missing in the Team | ||
-t TEAM, --team TEAM The name of the GitHub Team to sync users with | ||
-t TEAM, --team TEAM The name of the GitHub Team to sync users with. | ||
This is case-sensitve, and needs quotations if the team name has spaces. | ||
-o ORG, --org ORG The name of the GitHub Organization where the Teams | ||
reside | ||
-l, --list List users in groups/teams and exit. No changes are | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,9 @@ github: | |
# GitHub. To use on github.com, simply use https://api.github.com | ||
#server_url: https://api.github.com | ||
server_url: https://github.example.com/api/v3 | ||
token: <token> | ||
# This is an optional override for the environment secret | ||
# GITHUB_TOKEN= | ||
#token: <token> | ||
|
||
ldap: | ||
# A list of server hostnames or IP addresses to try connecting to | ||
|
@@ -42,6 +44,8 @@ ldap: | |
# Active Directory bind user. This must be in <user>@<domain> format | ||
bind_user: [email protected] | ||
# The password to use for binding | ||
bind_password: asqw!234 | ||
# This is an optional override for the environment secret | ||
# AD_BIND_PASSWORD= | ||
#bind_password: asqw!234 | ||
# Page size for paginating LDAP query (default is 1000 for Active Directory) | ||
page_size: 1000 |