Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -s -d "{\"auth\":{\"passwordCredentials\":{\"username\": \"adminUser\", \"password\": \"secretword\"},\"tenantName\": \"adminTenant\"}}" -H "Content-type:application/json" http://192.168.122.14:5000/v
- 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