Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -d "{\"auth\":{\"passwordCredentials\":{\"username\": \"admin\", \"password\": \"$KEYSTONE_ADMIN_USER_PASSWORD\"}}}" \
- -H "Content-type: application/json" http://localhost:35357/v2.0/tokens|python -mjson.tool
- {
- "access": {
- "serviceCatalog": {},
- "token": {
- "expires": "2012-03-31T14:28:31Z",
- "id": "b792901cde5943a1b23bbbeff346a840"
- },
- "user": {
- "id": "8d5ec359309e477fad8ea45e59e2616f",
- "name": "admin",
- "roles": [],
- "roles_links": [],
- "username": "admin"
- }
- }
- }
- curl -H "X-Auth-Token:d57912cce30a43adac115c71fb783f95" http://localhost:5000/v2.0/tenants| python -mjson.tool
- {
- "tenants": [
- {
- "description": null,
- "enabled": true,
- "id": "45de95752dba4b1dbca00ff39992cde4",
- "name": "jumpstart"
- }
- ],
- "tenants_links": []
- }
Advertisement
Add Comment
Please, Sign In to add comment