Issue:
Configured AWS/S3 automated snapshots for Vault with Raft storage, but retain parameter being ignored and older snapshots are not being deleted.
Solution:
Double check that there is no pre-fixed /
character before the path being used for the file_prefix parameter to configure snapshots.
Proper config:
file_prefix: "vault-snapshot/"
Improper config:
file_prefix: "/vault-snapshot/"
This should ensure the retain
parameter is being utilized and not overlooked when running automated snapshots.