Advertisement
c0by

keystone

May 3rd, 2012
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.52 KB | None | 0 0
  1. root@controller:/tmp/images# curl -d '{"auth": {"tenantName": "openstackDemo", "passwordCredentials":{"username": "adminUser", "password": "password"}}}' -H "Content-type: application/json" http://controller.lab:35357/v2.0/tokens | python -mjson.tool
  2. % Total % Received % Xferd Average Speed Time Time Time Current
  3. Dload Upload Total Spent Left Speed
  4. 100 2288 0 2174 100 114 13897 728 --:--:-- --:--:-- --:--:-- 14025
  5. {
  6. "access": {
  7. "serviceCatalog": [
  8. {
  9. "endpoints": [
  10. {
  11. "adminURL": "http://controller.lab:8774/v2/281bfc42089444659c1d3da4be76ae44",
  12. "internalURL": "http://controller.lab:8774/v2/281bfc42089444659c1d3da4be76ae44",
  13. "publicURL": "http://controller.lab:8774/v2/281bfc42089444659c1d3da4be76ae44",
  14. "region": "RegionOne"
  15. }
  16. ],
  17. "endpoints_links": [],
  18. "name": "nova",
  19. "type": "compute"
  20. },
  21. {
  22. "endpoints": [
  23. {
  24. "adminURL": "http://controller.lab:9292/v1",
  25. "internalURL": "http://controller.lab:9292/v1",
  26. "publicURL": "http://controller.lab:9292/v1",
  27. "region": "RegionOne"
  28. }
  29. ],
  30. "endpoints_links": [],
  31. "name": "glance",
  32. "type": "image"
  33. },
  34. {
  35. "endpoints": [
  36. {
  37. "adminURL": "http://127.0.0.1:8080/",
  38. "internalURL": "http://127.0.0.1:8080/v1/AUTH_281bfc42089444659c1d3da4be76ae44",
  39. "publicURL": "http://127.0.0.1:8080/v1/AUTH_281bfc42089444659c1d3da4be76ae44",
  40. "region": "RegionOne"
  41. }
  42. ],
  43. "endpoints_links": [],
  44. "name": "swift",
  45. "type": "storage"
  46. },
  47. {
  48. "endpoints": [
  49. {
  50. "adminURL": "http://controller.lab:8776/v1/281bfc42089444659c1d3da4be76ae44",
  51. "internalURL": "http://controller.lab:8776/v1/281bfc42089444659c1d3da4be76ae44",
  52. "publicURL": "http://controller.lab:8776/v1/281bfc42089444659c1d3da4be76ae44",
  53. "region": "RegionOne"
  54. }
  55. ],
  56. "endpoints_links": [],
  57. "name": "volume",
  58. "type": "volume"
  59. },
  60. {
  61. "endpoints": [
  62. {
  63. "adminURL": "http://controller.lab:8773/services/Admin",
  64. "internalURL": "http://controller.lab:8773/services/Cloud",
  65. "publicURL": "http://controller.lab:8773/services/Cloud",
  66. "region": "RegionOne"
  67. }
  68. ],
  69. "endpoints_links": [],
  70. "name": "ec2",
  71. "type": "ec2"
  72. },
  73. {
  74. "endpoints": [
  75. {
  76. "adminURL": "http://controller.lab:35357/v2.0",
  77. "internalURL": "http://controller.lab:5000/v2.0",
  78. "publicURL": "http://controller.lab:5000/v2.0",
  79. "region": "RegionOne"
  80. }
  81. ],
  82. "endpoints_links": [],
  83. "name": "keystone",
  84. "type": "identity"
  85. }
  86. ],
  87. "token": {
  88. "expires": "2012-05-04T15:54:23Z",
  89. "id": "819c5876c3d54cfead14b19cfd95fc7a",
  90. "tenant": {
  91. "description": "Default Tenant",
  92. "enabled": true,
  93. "id": "281bfc42089444659c1d3da4be76ae44",
  94. "name": "openstackDemo"
  95. }
  96. },
  97. "user": {
  98. "id": "c6aec1f834334614bbed8e7711581774",
  99. "name": "adminUser",
  100. "roles": [
  101. {
  102. "id": "b8215c1892de4a45879ba97f8a16c47d",
  103. "name": "admin"
  104. }
  105. ],
  106. "roles_links": [],
  107. "username": "adminUser"
  108. }
  109. }
  110. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement