-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Describe the bug
As per raft's retry_join documentation - https://www.vaultproject.io/docs/configuration/storage/raft#retry_join-stanza - leader_... options are supposedly path to CA/certificate/private-key files
Those must actually be the PEM data in order for the joining to work.
This also stands true for the vault operator raft join CLI command - https://www.vaultproject.io/docs/commands/operator/raft#join - although it's less clear those options are not path to files (although other TLS-related options are; e.g. -ca-cert)
Expected behavior
Ideally, leader-... options should be path to files (which makes it less cumbersome to specify multiple retry_join stanzas in the configuration file).
But if providing PEM data is the intended behavior, then the documentation should be corrected and maybe the CLI options explicited.
Environment:
- Vault Server Version (retrieve with
vault status): 1.4.0 - Vault CLI Version (retrieve with
vault version): 1.4.0 - Server Operating System/Architecture: n/a