Vault
- By Canonical Telco
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/edge | 89 | 31 Jan 2024 | |
1.15/beta | 204 | 18 Apr 2024 | |
1.15/edge | 224 | 14 May 2024 |
juju deploy vault-k8s --channel 1.15/edge
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Restore a backup
Pre-requisites:
To restore a Vault Backup, ensure you:
- Have a Vault cluster deployed.
- Your Vault deployment is in active idle state.
- Have access to S3 storage where your backup is saved.
- Have configured the settings for S3 storage.
- Have access to the unseal keys and root-token used by the Vault cluster at the time of creating the backup.
Once the prerequisites are in place you can run the restore-backup
action on the leader unit to restore the specified backup, providing the following parameters to the action:
- backup-id: Identifier of the backup you are attempting to restore, as saved on the S3 storage.
- unseal-keys: A list of the unseal keys of the Vault cluster at the time of the backup.
- root-token: The root token of the Vault cluster at the time of creating the backup.
juju run vault/leader restore-backup backup-id=<backup-id> unseal-key=<unseal-keys> root-token=<root-token>
List backups:
You can get a list of the identifiers of all the backups that are stored on the configured S3 storage using the list-backups
action:
juju run vault/leader list-backups