Identity backends provide get_by_name methods but they aren't available via API

Bug #972800 reported by Rafael Durán Castañeda
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Expired
Wishlist
Unassigned

Bug Description

Hi,

Keystone Identity APIs provide get_by_name methods (e.g.: tenant_by_name) however they aren't available via API; thus you can't get information using the human readable identifier. Being able to get information by name would be quite convenient since in most cases only the name is known (e.g.: user credentials).

Tags: blueprint
Dolph Mathews (dolph)
Changed in keystone:
status: New → Confirmed
importance: Undecided → Wishlist
Joseph Heck (heckj)
tags: added: blueprint
Revision history for this message
Rafael Durán Castañeda (rafadurancastaneda) wrote :

Since I needed the users 'get_by_name' I'm using a custom extension (https://github.com/bvox/keystone-bvoxextension) and I would like to code at keystone core/contrib something like that but probably something more general and not so specific. What do you think about it?

Changed in keystone:
assignee: nobody → Rafael Durán Castañeda (rafadurancastaneda)
affects: keystone → python-keystoneclient
affects: python-keystoneclient → keystone
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6447

Changed in keystone:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/6448

Revision history for this message
Rafael Durán Castañeda (rafadurancastaneda) wrote :

I would be thankful if someone review this, since nobody reviewed the patches yet.

Revision history for this message
Rafael Durán Castañeda (rafadurancastaneda) wrote :

New patches available.

Revision history for this message
termie (termie) wrote :

this is a feature request and i don't think we need it

Changed in keystone:
assignee: Rafael Durán Castañeda (rafadurancastaneda) → nobody
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Keystone because there has been no activity for 60 days.]

Changed in keystone:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.