cdhunt / SecretManagement.1Password

This is a SecretManagement extension for 1Password.
MIT License
23 stars 14 forks source link

Map keys in `$AdditionalParameters` to fields/sections of op templates #10

Open cdhunt opened 4 years ago

cdhunt commented 4 years ago

Iterate through the keys provided in $AdditionalParameters for Set-Secret and where there's a matching key in the op template, set the value.

On Get-Secret pass those key-values as NoteProperties. Maybe? Is that a good idea?

cdhunt commented 4 years ago

There are a lot of fields in a loosely structured format for just a Login item. To make it more complicated, those fields don't even show up in the login template. I think the best approach will be to build some canned property mappings based on the template.