I'm trying to find a solution to store a mix of encrypted and un-encrypted key-value pairs in vault with consul as the storage backend.
I am aware that I can directly use consul's kv store to store un-encrypted key-value pairs and use vault only when I need encryption at rest.
But, I wanted a common interface (for example, python-hvac) for my app to read/write both encrypted and un-encrypted key-value pairs.
One solution I can think of is to write a secrets-plugin for vault which does not do encryption (passthrough ?)
Another solution is to simply store the key-value pairs that do not require encryption in vault anyway, but I wish to avoid the encryption-decryption cost if possible.