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

[consul] Simplify the IAMGroupMapping setting #50

Open
gozer opened this issue Nov 1, 2016 · 0 comments
Open

[consul] Simplify the IAMGroupMapping setting #50

gozer opened this issue Nov 1, 2016 · 0 comments

Comments

@gozer
Copy link
Contributor

gozer commented Nov 1, 2016

Wouldn't something like this be clearer?

  GroupMapping:
    - groupNumber1:
      IAMPath: /nubis/admins/
      ConsulPath: global-admins
    - groupNumber2:
      LDAPGroup: groupNumber2
      IAMPath: /nubis/foo/
      ConsulPath: foo

Compared with:

  IAMGroupMapping:
    - Group1:
      LDAPGroup: groupNumber1
      IAMPath: /nubis/admin/
      ConsulPath: global-admins
    - Group2:
      LDAPGroup: groupNumber2
      IAMPath: /nubis/foo/
      ConsulPath: foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant