[openstack-dev] [keystone] Move utils.Ec2Signer class into keystoneclient?

Steven Hardy shardy at redhat.com
Mon Nov 26 17:13:46 UTC 2012


On Mon, Nov 26, 2012 at 11:45:23AM -0500, Adam Young wrote:
> On 11/26/2012 10:46 AM, Steven Hardy wrote:
> >Hi,
> >
> >I wish to make use of the Ec2Signer class in keystone.common.utils, to
> >generate pre-signed URLs which are later used for authentication via the
> >keystone EC2 auth extension.
> >
> >I'm obviously keen to avoid directly importing an internal keystone class,
> >and would prefer to avoid a direct cut/paste, so was considering where it
> >could be moved such that it's a user-visible utility class?
> >
> >Initial thought was that moving the class to either python-keystoneclient or
> >possibly oslo, wanted to get feedback as to the most acceptable option from
> >the keystone devs before proceeding?
> >
> >My proposal:
> >- Move Ec2Signer into keystoneclient.utils (or create an authutils module?)
> >- Make keystone.contrib.ec2.core import Ec2Signer from keystoneclient
> python-keystoneclient sounds like the right approach.  Please make
> this a blueprint.

https://blueprints.launchpad.net/keystone/+spec/ec2signer-to-keystoneclient

If you're happy with this proposal, feel free to assign to me and I'll send
some patches.

Thanks,

Steve



More information about the OpenStack-dev mailing list