How to get the token info for a tenant in openstack ?

Use the following curl command to get the token info for a tenant in openstack.

curl -d '{"auth": {"tenantName": "tddadmin", "passwordCredentials":{                   "username": "tddadmin", "password": "openstack"}}}'
-H "Content-type: application/json" http://localhost:35357/v2.0/tokens

Note: Please replace the url and authentication details with valid values for the above command to work.

Search