kamal
kamal copied to clipboard
[bitwarden] ability to fetch all fields from an item
Sometimes a projects has a lot of secrets (more than 10). And its cumbersome to write $(kama secrets fetch ...) with a lot of field names.
I want to be able to just fetch all the fields from a given item and then just use these with $(kamal extract NAME)
The result is that you can:
- create on item in bitwaren of type Secre note
- add custom fields to that item
- fetch all the custom fields into your .kamal/secrets like so:
SECRETS=$(kamal secrets fetch --adapter bitwarden SECRETS_ITEM)
SECRET_VAR=$(kamal secrets extract FIELD_NAME $SECRETS)
Please let me know if there is anything I can do to move this along, or if should just give up and close it.
Thank you! 🎆