Skip to content

Instantly share code, notes, and snippets.

@RackerWilliams
Last active March 8, 2018 21:20
Show Gist options
  • Save RackerWilliams/2b29128bf30b39b3c7b5917d12d3f2a6 to your computer and use it in GitHub Desktop.
Save RackerWilliams/2b29128bf30b39b3c7b5917d12d3f2a6 to your computer and use it in GitHub Desktop.
one
mapping:
version: "RAX-1"
rules:
- local:
faws:
groups:
multiValue: true
value: "{Ats(http://schemas.xmlsoap.org/claims/Group)}"
user:
domain: "797028"
name: "{D}"
email: "{At(http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress)}"
expire: "PT4H"
roles:
- "{0}"
remote:
- path: |
(
if (mapping:get-attributes('http://schemas.xmlsoap.org/claims/Group')='GG_AWS_Admins') then ('nova:admin', 'ticketing:admin', 'monitori
ng:admin', 'cloudbackup:admin') else ()
)
multiValue: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment