Skip to content

Instantly share code, notes, and snippets.

@michaelrice
Last active October 11, 2018 08:16
Show Gist options
  • 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: [email protected]
MELLON_groups:
MELLON_ks_username: bob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment