Skip to content

Instantly share code, notes, and snippets.

@michaelrice
Last active October 11, 2018 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelrice/67dc4cce606dc208d45482b54060ac76 to your computer and use it in GitHub Desktop.
Save michaelrice/67dc4cce606dc208d45482b54060ac76 to your computer and use it in GitHub Desktop.
[root@pike-aio ~(keystone_admin)]# keystone-manage mapping_engine --rules rules.json --input rules.test
{
"group_ids": [],
"user": {
"domain": {
"name": "Default"
},
"type": "local",
"name": "bob"
},
"projects": [],
"group_names": []
}
[
{
"remote": [
{
"type": "MELLON_ks_username"
},
{
"type": "MELLON_groups"
}
],
"local": [
{
"user": {
"name": "{0}",
"type": "local",
"domain": {
"name": "Default"
}
}
}
]
}
]
MELLON_email: me@you.com
MELLON_groups:
MELLON_ks_username: bob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment