Vault unseal operation needs to happen inside the vault role #19

Closed
opened 2024-08-29 17:35:52 +00:00 by lanson · 0 comments
Owner

Currently, becausethe role was first managed outside of the collection, the unseal operation takes place after the vault deployment role, which causes a few seconds (1-3s), where all vault nodes are sealed, which can lead to issues.

There should be an option inside the vault role to do rolling unseals, using a serial run on the restart + unseal operation if keys are provided to the role.

If no keys are provided, the unseal would just be skipped (to allow bootstrap cases where there is no key available to unseal)

Currently, becausethe role was first managed outside of the collection, the unseal operation takes place after the vault deployment role, which causes a few seconds (1-3s), where all vault nodes are sealed, which can lead to issues. There should be an option inside the vault role to do rolling unseals, using a serial run on the restart + unseal operation if keys are provided to the role. If no keys are provided, the unseal would just be skipped (to allow bootstrap cases where there is no key available to unseal)
lanson added this to the Hashistack-Ansible project 2024-08-29 17:35:52 +00:00
lanson added the
vault
label 2024-09-06 21:52:44 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ansible-collections/hashistack#19
No description provided.