Skip to content

Automate the Vault init and unseal process #2

@aaronsgithub

Description

@aaronsgithub

Please describe the problem to be solved

Once Vault is installed, the vault servers are started in a "sealed" state. The data stored in Vault is encrypted.

The Vault servers therefore need to be manually initialised and unsealed in order to read the decryption key and access the data stored in the storage backend. See:

The init process reveals the master keys and initial root token which can then be used to unseal Vault.

Can you propose a solution

A client side script could be made to automate this process but this would not allow for unattended install.

Another option might be to have an InitContainer automate this process.

PGP could be used to encrypt the keys and export them from Kubernetes.

Additional context

Many discussions have taken place on the Vault issues tracker and pull requests submitted:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions