Expand the parameters for the GET secrets API to enable filtered queries

Registered by Wyllys Ingersoll

It would be useful if the API for querying secrets could be expanded to allow for filtered queries such as searching for a secret by its "name" field. Additionally, having the server filter the list based on search criteria such as key type, create/expire dates, etc, would be useful. As it is today, the caller either must know the specific key UUID or they must query for the entire list and then filter it locally.

Ex:
GET /v1/{project-id}/secrets?name=foobar
GET /v1/{project-id}/secrets?algorith=aes&mode=cbc

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
Wyllys Ingersoll
Definition:
New
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon icehouse-2
Started by
John Wood
Completed by
John Wood

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/expanded-secrets-query-api,n,z

Addressed by: https://review.openstack.org/61225
    Expand secrets list API to allow for filters on name, mode, algorithm, and bit length

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.