notaryproject / notation-hashicorp-vault

HashiCorp Vault provider for Notation
https://notaryproject.dev/
Apache License 2.0
7 stars 8 forks source link

Configurable KV/transit engines #24

Closed tomaszkrzyzanowski closed 3 months ago

tomaszkrzyzanowski commented 4 months ago

Hey!

I wrote a little patch for support configurable engines mountpoints and keys in Vault

This code allows to:

Naming is inconsistent yet, and not very well-thought, so I'm open for suggestions :)

cipherboy commented 4 months ago

@tomaszkrzyzanowski Looks like I've caused this one to conflict, sorry!

tomaszkrzyzanowski commented 4 months ago

@tomaszkrzyzanowski Looks like I've caused this one to conflict, sorry!

@cipherboy no worries ;) actually I found 2 extra things which would need to be fixed anyway, so at least it should work well and be documented now ;)

Currently, the plugin and helper should take any combination of engine/key names and kv part can support nested keys without issues :)

FeynmanZhou commented 3 months ago

@cipherboy Would you reviewing this PR again? Thanks

tomaszkrzyzanowski commented 3 months ago

@cipherboy Could you take a look? 😅

cipherboy commented 3 months ago

@tomaszkrzyzanowski Thanks for the poke, and sorry for the delay!

tomaszkrzyzanowski commented 3 months ago

@cipherboy np, we are all busy :) and thank you for the review and merge

I will possibly make the changes you mentioned later - I'm considering writing the tests, when I will find another free quant of time to do this :)

anyway, thanks again Tomasz