Skip to content

Raft (retry_join/CLI) leader-... options (file paths vs PEM data) #8753

@exo-cedric

Description

@exo-cedric

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions