Barbican should list more than 10 secrets

Bug #1749832 reported by Kaitlin Farr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
castellan
New
Undecided
Unassigned

Bug Description

Castellan only passes limited parameters to the list operation and doesn't include a size limit: https://github.com/openstack/castellan/blob/master/castellan/key_manager/barbican_key_manager.py#L592

However, python-barbicanclient includes a default limit of 10 if None is specified:
https://github.com/openstack/python-barbicanclient/blob/41f4e3b0ac88158150785ce3438c211b7d758336/barbicanclient/v1/secrets.py#L537

This means you can only get 10 secrets from Barbican. Other parameters should be passed to either better support paging in Castellan, or to have Castellan increase the number of requests from Barbican.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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