mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-01 13:39:37 +08:00
* Use GitHub camelcase * Update example github to camelcase * Update references to GitHub as camelcase
23 lines
731 B
YAML
23 lines
731 B
YAML
kind: github
|
|
version: v3
|
|
metadata:
|
|
name: github
|
|
spec:
|
|
# GitHub OAuth app client ID
|
|
client_id: <client-id>
|
|
# GitHub OAuth app client secret
|
|
client_secret: <client-secret>
|
|
# GitHub will make a callback to this URL after successful authentication
|
|
# cluster-url is the address the cluster UI is reachable at
|
|
redirect_url: "https://<cluster-url>/v1/webapi/github/callback"
|
|
# connector display name that will be appended to the title of "Login with"
|
|
# button on the cluster login screen so it will say "Login with GitHub"
|
|
display: Github
|
|
# mapping of GitHub team memberships to Teleport cluster roles
|
|
teams_to_logins:
|
|
- logins:
|
|
- access
|
|
- editor
|
|
organization: <github-org>
|
|
team: <github-team>
|