Skip to content

Instantly share code, notes, and snippets.

@nlothian
Created July 17, 2012 06:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nlothian/3127581 to your computer and use it in GitHub Desktop.
OpenStack authentication return
{
"access": {
"token": {
"expires": "2012-04-23T23:54:00",
"id": "<id>",
"tenant": {
"id": "<tenantId>",
"name": "<username>"
}
},
"serviceCatalog": [
{
"endpoints": [
{
"adminURL": "https://nova-api.trystack.org:9774/v1.1/<tenantId>",
"region": "RegionOne",
"internalURL": "https://nova-api.trystack.org:9774/v1.1/<tenantId>",
"publicURL": "https://nova-api.trystack.org:9774/v1.1/<tenantId>"
}
],
"type": "compute",
"name": "nova"
},
{
"endpoints": [
{
"adminURL": "https://GLANCE_API_IS_NOT_DISCLOSED/v1.1/<tenantId>",
"region": "RegionOne",
"internalURL": "https://GLANCE_API_IS_NOT_DISCLOSED/v1.1/<tenantId>",
"publicURL": "https://GLANCE_API_IS_NOT_DISCLOSED/v1.1/<tenantId>"
}
],
"type": "image",
"name": "glance"
},
{
"endpoints": [
{
"adminURL": "https://nova-api.trystack.org:5443/v2.0",
"region": "RegionOne",
"internalURL": "https://keystone.thefreecloud.org:5000/v2.0",
"publicURL": "https://keystone.thefreecloud.org:5000/v2.0"
}
],
"type": "identity",
"name": "keystone"
}
],
"user": {
"id": "927",
"roles": [
{
"tenantId": "<tenantId>",
"id": "2",
"name": "Member"
}
],
"name": "<username>"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment