Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Roles #891

Closed
russjones opened this issue Mar 31, 2017 · 0 comments
Closed

Dynamic Roles #891

russjones opened this issue Mar 31, 2017 · 0 comments
Assignees
Milestone

Comments

@russjones
Copy link
Contributor

Description

At the moment using OIDC with individual system logins means you have to either create a role for every user or keep updating a shared role with logins whenever someone new joins the team.

To improve the user experience of OIDC and Teleport, we should have an option to allow creation of roles dynamically based off the claims received from an identity provider.

Implementation Details

claims_to_roles:
  - name: group
    value: teleport_user
    role_template:
      kind: role
      version: v1
      metadata:
        name: {{.user}}
        namespace: default
        spec:
          logins: [{{.claims.nickname}}]
          max_session_ttl: 90h0m0s
          node_labels:
            '*': '*'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants