parallaxsecond / parsec

Platform AbstRaction for SECurity service
https://parsec.community/
Apache License 2.0
467 stars 67 forks source link

Modify get_all in the ManageKeyInfo trait to be more generic #326

Open hug-dev opened 3 years ago

hug-dev commented 3 years ago

Currently the get_all method returns the key triple filtering through one provider ID.

Ideally it should filter through app name, provider and key name. That method could take three parameters as option for filtering. The method could also return a list of every possible KeyTriple stored by the KIM (so that the filtering can happen through the filter method on the iterator).

hug-dev commented 3 years ago

Might not be relevent after the changes in #394