I'm trying to init a new vault cluster with 9 pgp keys, and a key threshold of 3
I'm using vault 0.9.5 from the official docker image with a dynamodb backend
vault operator init -key-shares=9 -key-threshold=3 -pgp-keys="1.asc,2.asc,3.asc,4.asc,5.asc,6.asc,7.asc,8.asc,9.asc"
Error initializing: Error making API request.
Code: 400. Errors:
* barrier configuration saving failed: failed to write seal configuration: ValidationException: Item size has exceeded the maximum allowed size
status code: 400, request id: XYZ
I see this in the logs
2018/03/07 15:54:59.947300 [INFO ] core: security barrier initialized: shares=9 threshold=3
2018/03/07 15:55:00.075432 [ERROR] core: failed to write seal configuration: error=ValidationException: Item size has exceeded the maximum allowed size
status code: 400, request id: XYZ
2018/03/07 15:55:00.075546 [ERROR] core: failed to save barrier configuration: error=failed to write seal configuration: ValidationException: Item size has exceeded the maximum allowed size
status code: 400, request id: XYZ
2018/03/07 15:55:07.568377 [INFO ] core: seal configuration missing, not initialized
2018/03/07 15:55:07.568815 [ERROR] error checking health: error=core: barrier reports initialized but no seal configuration found
the total size of the 9 base64 encoded keys is roughly 536k - I suspect there's something somewhere I need to tweak, but I'm not sure where to look, any suggestions?
Thank you,
Jordan Conway