Advertisement
Guest User

Untitled

a guest
Mar 7th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.96 KB | None | 0 0
  1. root@operator:/var/src/kolla# curl -i   -H "Content-Type: application/json"   -d '
  2. { "auth": {
  3.    "identity": {
  4.      "methods": ["password"],
  5.      "password": {
  6.        "user": {
  7.          "name": "admin",
  8.          "domain": { "id": "default" },
  9.          "password": "password"
  10.        }
  11.      }
  12.    }
  13.  }
  14. }'   http://192.168.201.100:5000/v3/auth/tokens ; echo
  15. HTTP/1.1 201 Created
  16. Date: Mon, 07 Mar 2016 20:26:48 GMT
  17. Server: Apache/2.4.7 (Ubuntu)
  18. X-Subject-Token: e56fb70ef2654a7981b409de7de89433
  19. Vary: X-Auth-Token
  20. x-openstack-request-id: req-5a84a013-2551-418a-88f9-ea20c0c7a317
  21. Content-Length: 283
  22. Content-Type: application/json
  23.  
  24. {"token": {"issued_at": "2016-03-07T20:26:52.999819Z", "audit_ids": ["t-750LDwSciMNlNGjPENSg"], "methods": ["password"], "expires_at": "2016-03-07T21:26:52.999747Z", "user": {"domain": {"id": "default", "name": "Default"}, "id": "bb6c14b425e34251a7d6114dbab87722", "name": "admin"}}}
  25. root@operator:/var/src/kolla#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement