nova/doc/v3/api_samples/keypairs
Vladik Romanovsky 1b8a2e0a92 Adding user_id handling to keypair index, show and create api calls
Administering an openstack cluster I found the need to see what keypairs a
user had. I found this bug that was requesting the same thing and decided
to implement it. This is the update to the api server to handle a query
param passed to return a keypair list for a specific user-id. Only a user
with admin privileges is allowed to make this call.

Allowing the administrators to be able to list and get details of keypairs
which owned by users other than themselves, as well as creating new and
deleting keypairs on behalf of their users.

DocImpact: This adds API microversion
Implements blueprint admin-query-any-keypair
APIImpact
UpgradeImpact: Policy rules of the index, create, delete and show
               operations has been updated to support the change.
               os_compute_api:os-keypairs:{index, show, create, delete}:
               "rule:admin_api or user_id:%(user_id)s

Co-Authored-By: Dan Smith <dansmith@redhat.com>
Co-Authored-By: Dan Radez <dradez@redhat.com>
Closes-Bug: #1182965
Change-Id: I45846f770628e8f24a8c137dcdc46baa64c50801
2015-08-04 16:34:24 -07:00
..
v2.2 Adds keypair type in nova-api 2015-03-04 22:16:37 +00:00
v2.10 Adding user_id handling to keypair index, show and create api calls 2015-08-04 16:34:24 -07:00
keypairs-get-resp.json Change v3 keypairs API to v2.1 2014-08-27 05:46:04 +00:00
keypairs-import-post-req.json Remove spaces from SSH public key comment 2014-05-20 12:08:07 +02:00
keypairs-import-post-resp.json Remove spaces from SSH public key comment 2014-05-20 12:08:07 +02:00
keypairs-list-resp.json Remove spaces from SSH public key comment 2014-05-20 12:08:07 +02:00
keypairs-post-req.json Adds v3 API samples for hide server addresses and keypairs 2013-09-25 01:04:10 +09:30
keypairs-post-resp.json Remove spaces from SSH public key comment 2014-05-20 12:08:07 +02:00