You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
# Create a file called github.yaml:
|
|
kind: github
|
|
version: v3
|
|
metadata:
|
|
# connector name that will be used with `tsh --auth=github login`
|
|
name: github
|
|
spec:
|
|
# client ID of Github OAuth app
|
|
client_id: e4733a77313f314d63d2
|
|
# client secret of Github OAuth app
|
|
client_secret: 2569d934f17be485d9472249544a4a906e3cf540
|
|
# connector display name that will be shown on web UI login screen
|
|
display: Github
|
|
# callback URL that will be called after successful authentication
|
|
redirect_url: https://teleport.sapian.cloud/v1/webapi/github/callback
|
|
# mapping of org/team memberships onto allowed logins and roles
|
|
teams_to_logins:
|
|
- organization: sapianco # Github organization name
|
|
team: ingenieria # Github team name within that organization
|
|
# allowed logins for users in this org/team
|
|
logins:
|
|
- root
|
|
- centos
|
|
- debian
|
|
- ubuntu
|
|
- sapian
|
|
# List of Kubernetes groups this Github team is allowed to connect to
|
|
# (see Kubernetes integration for more information)
|
|
kubernetes_groups: ["system:masters"]
|