HA works by using a storage backend that supports HA, such as
Consul or DynamoDB. The (encrypted) keys are persisted in this
storage. The slaves use this data to pick up where the leader
left off.
-Jason Martin
On Thu, Sep 20, 2018 at 10:25:00PM -0700, Salvador Salazar wrote:
> Reading through
>
https://www.vaultproject.io/docs/internals/high-availability.html
> documentation, it is unclear to me how a HA set up works. I
> understand it's a master-slave scheme, where only the master
> will process all incoming request (reads and writes).
>
> However, if I understood correctly, when using the transit
> secret engine, encryption keys are stored within Vault's
> server. In the eventual scenario of the server going down, how
> do the "slave" vault servers learn about the pre-existent
> encryption keys? Do I need to set keys as "exportable", as
>
https://www.vaultproject.io/api/secret/transit/index.html#exportable,
> and copy the keys to the slave servers?
>