Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecretsManager: are any of these kids known? #3

Open
dbluhm opened this issue Nov 2, 2023 · 0 comments
Open

SecretsManager: are any of these kids known? #3

dbluhm opened this issue Nov 2, 2023 · 0 comments

Comments

@dbluhm
Copy link
Member

dbluhm commented Nov 2, 2023

for kid in wrapper.recipient_key_ids:
recip_key = await self.secrets.get_secret_by_kid(kid)
if recip_key:
break

This chunk of code is potentially problematic when there are many recipients. We should have a way to query the SecretsManager with a list of potentially known kids, returning a list of the ones that are known.

@dbluhm dbluhm changed the title SecretsManager: is this kid known? SecretsManager: are any of these kids known? Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant