title: How to get Authorization Token for Ceilometer API Openstack
body: <p>I am new to openstack, trying to use Ceilometer python API to pull some data from a testbed server, I am accessing the server from a remote site</p>
  
  <p>the problem is that I cannot figure out how get the an authorization token</p>
  
  <p>I used the following command</p>
  
  <pre><code>curl -i 'http://HOST:8774/' -X POST -H "Content-Type: application/json" -H "Accept: application/json" -d/tokens auth": {"tenantName": "project", "passwordCredentials": {"username": "user", "password": "password"}}}'
  </code></pre>
  
  <p>But it does not give me anything,</p>
  
  <pre><code>curl -X GET -H "X-Auth-Token:$MY_TOKEN" http://HOST:8774/tokens
  </code></pre>
  
  <p>also does not give me any token</p>