[openstack-dev] 3-rd party endpoint lookup and interpolation

Adam Young ayoung at redhat.com
Tue Jul 31 15:56:32 UTC 2012


On 07/25/2012 07:50 PM, Pete Zaitcev wrote:
> Hello, All:
>
> I am trying to do a simple thing: for each account (in Keystone) to find
> out how much space it used up in Swift. This requires the management script
> to determine the StorageURL for a given account (tenant in Keystone).
> When an ordinary application does it, the function is performed during
> the authentication, and result is returned alongside the token. Obviously,
> the administrator cannot do that except by impersonating users. In our
> case, my script does not have access to user passwords.
>
> So, ideally I would like an API call that permits an administrator account
> to submit own credentials, but look up and interpolate someone else's
> StorageURL. Do we have such a call?

Did you ever get an answer?  What approach did you take?

>
> Currently I list endpoints (I cannot find a lookup call either), identify
> the one for Swift, then interpolate by hand, duplicating what Keystone
> server does. This may be not future-proof if another way of interpolating
> is defined, for example. Hence, the question above.
>
> Greetings,
> -- Pete
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





More information about the OpenStack-dev mailing list