List all keys added to keychain using `security add-generic-password` Is there a command in security that lists the names of all keys that have been added to the keychain through add-generic-password?

I've tried, but it find-generic-password only ever returns one result as far as I know.
This did it for me

security dump-keychain | grep 0x00000007 | awk -F= '{print $2}'


I used it for this blog post: https://www.aria.ai/blog/posts/storing-secrets-with-keychain.html