Keeper-Security / ksm-action

Keeper Security Secrets Manager Action
MIT License
11 stars 8 forks source link

Get keeper records by title without specifying uid/fields/file/etc #127

Closed marcossv9 closed 6 months ago

marcossv9 commented 10 months ago

Currently, the action supports getting keeper records specifying uid,field,file like this:

secrets: |
  uid123/field/password > APP_PASSWORD
  uid234/field/password > env:DB_PASSWORD
  uid321/file/Certificate.crt > file:/tmp/Certificate.crt

I would like to be able to get a record value, only specifying the title of it, so I can make use of Secrets Manager Applications (one per environment)

Something like:

secrets: |
  /my/keeper/record/title > MY_RECORD
  my-keeper-record-title > env:MY_RECORD

Perhaps this issue is similar to this other

Thanks

maksimu commented 10 months ago

we will look into this. But as a work around or best practice I would recommend using Environments feature in your gihtub action

idimov-keeper commented 6 months ago

ksm-action v1.1.0 was released which now allows referencing records by title