[Openstack] re-scope the keystone token

Vinod Kumar Boppanna vinod.kumar.boppanna at cern.ch
Tue Mar 25 16:13:26 UTC 2014


Hi,

I am using keystoneclient to get the authentication token, like as below

keystone = client.Client(username=username,
                             password=password,
                             auth_url=endpoint)
token = keystone.auth_token

Now, i want to re-scope this token to different project ids, some thing like

keystone = client.Client(tenant_id=tenant,
                             auth_url=endpoint,
                             token=token)

but this is not woking. So can anybody tell me how to re-scope the authentication token obtained from keystone.

Thanks & Regards,
Vinod Kumar Boppanna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140325/d1e9c74c/attachment.html>


More information about the Openstack mailing list