Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@operator:/var/src/kolla# curl -i -H "Content-Type: application/json" -d '
- { "auth": {
- "identity": {
- "methods": ["password"],
- "password": {
- "user": {
- "name": "admin",
- "domain": { "id": "default" },
- "password": "password"
- }
- }
- }
- }
- }' http://192.168.201.100:5000/v3/auth/tokens ; echo
- HTTP/1.1 201 Created
- Date: Mon, 07 Mar 2016 20:26:48 GMT
- Server: Apache/2.4.7 (Ubuntu)
- X-Subject-Token: e56fb70ef2654a7981b409de7de89433
- Vary: X-Auth-Token
- x-openstack-request-id: req-5a84a013-2551-418a-88f9-ea20c0c7a317
- Content-Length: 283
- Content-Type: application/json
- {"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"}}}
- root@operator:/var/src/kolla#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement