Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created January 19, 2015 06:20
Show Gist options
  • Save yuuichi-fujioka/25b1ed54b0016bfbe957 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/25b1ed54b0016bfbe957 to your computer and use it in GitHub Desktop.
keystone v3 api: trust samples
{
"auth": {
"scope": {
"OS-TRUST:trust": {
"id": "a2ae25c1a1fd47229c0d29527e513828"
}
},
"identity": {
"token": {
"id": "77db9e56366b4e0f83b86846a89f1f21"
},
"methods": [
"token"
]
}
}
}
{
"auth": {
"identity": {
"methods": [
"password"
],
"password": {
"user": {
"domain": {
"name": "Default"
},
"name": "demo",
"password": "openstack"
}
}
}
}
}
{
"trust": {
"trustor_user_id": "e27045815a9a43c0a3d265096d3692c7",
"trustee_user_id": "8fd0d068b0474400a931715618e66d5b",
"roles": [
{
"name": "_member_"
}
],
"project_id": "63010cfdcdb540aeb15ecd4f2efa1a8e",
"impersonation": true,
"expires_at": "2024-02-27T18:30:59.999999Z"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment