kamal icon indicating copy to clipboard operation
kamal copied to clipboard

[bitwarden] ability to fetch all fields from an item

Open honzasterba opened this issue 1 year ago • 1 comments

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)

honzasterba avatar Sep 28 '24 09:09 honzasterba

Please let me know if there is anything I can do to move this along, or if should just give up and close it.

honzasterba avatar Oct 13 '24 20:10 honzasterba

Thank you! 🎆

honzasterba avatar Oct 23 '24 16:10 honzasterba