Advertisement
Guest User

Untitled

a guest
Feb 28th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. curl -s -d "{\"auth\":{\"passwordCredentials\":{\"username\": \"adminUser\", \"password\": \"secretword\"},\"tenantName\": \"adminTenant\"}}" -H "Content-type:application/json" http://192.168.122.14:5000/v
  2. 2.0/tokens | python -c "import sys; import json; tok = json.loads(sys.stdin.read()); print tok['access']['token']['id'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement