Not able to get list of endpoints whith auth-token generated using admin credentials

asked 2015-05-26 07:46:49 -0500

anonymous user


While generating auth tokens via REST request I can specify only username/password and doamin. In REST api references of openstack there is one payload template which meets my requirement.

{ "auth": { "identity": { "methods": ["password"], "password": { "user": { "name": "openstack", "domain": { "id": "" }, "password": "secretsecret" } } } } }

when i am requesting POST request on "http://CONTROLLER_IP:5000/v3/auth/tokens" with this payload using ADMIN credentials then in return i'm getting "X-Auth-Token" and "audit_ids". This X-auth-token should be provided while requesting other REST api's. But when i'm using this X-Auth-Token for endpoints URL "http://CONTROLLER_IP:5000/v3/endpoints", it is returning response code 403 and error message " message: "You are not authorized to perform the requested action: identity:list_endpoints". I want to access list of endpoints for openstack services. But not able to and another response parameter "audit_ids" there is no documentation for this parameter, how to use it. Please suggest me any way with which i can access list of endpoints by providing only username/password and domain only.

edit retag flag offensive close merge delete