Hi Trevor,
Size constraints aren't imposed by Vault, but they may be imposed by
the physical backend you're using. For instance, I believe Consul
limits keys to 512KB, and Vault does impose some additional overhead
to the input key size for serialization and encryption.
Generally, if your values are approaching that size, a better approach
is to either round-trip your data through transit and store the
encrypted data in an appropriate data store; or, use an encryption
data key issued from the transit backend to perform
encryption/decryption on the local machine, and then store the
encrypted value in an appropriate data store. This splits the problem
of storage and secret key management and avoids scalability
challenges.
--Jeff
>
https://groups.google.com/d/msgid/vault-tool/e8e1ed87-b89a-4b22-bf06-09ccf4ed1e6b%40googlegroups.com.