seal "gcpckms" {disabled = "true"
project = "vault-project" region = "europe-west4" key_ring = "vault-keyring" crypto_key = "vault-key"# Credentials provided by$GOOGLE_APPLICATION_CREDENTIALS.}
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/683f4ab1-13c9-4d12-ac53-073cdbb5b4d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The recovery keys can not be used for unsealing and only the KMS key can be used. The recovery keys are used for operations that require a quorum of users for highly privileged operations, such as generating a root token.Chris
On Sat, Jun 1, 2019 at 4:15 AM Geir Emblemsvåg <gei...@gmail.com> wrote:
--Hi,We are practicing a scenario where the Google KMS key we use for unsealing is lost, and need to unseal the database using just the recovery keys. But we are unable to do this using the migration or recovery options in the Vault documentation.After deleting the KMS keys (simulating a total data loss), we update the unseal stanza with the "disabled" option and restart Vault for the change to take effect:seal "gcpckms" {disabled = "true"
project = "vault-project" region = "europe-west4" key_ring = "vault-keyring" crypto_key = "vault-key"# Credentials provided by$GOOGLE_APPLICATION_CREDENTIALS.}We then use the "operator unseal -migrate" command to unseal the Vault. This allows us to input a quorum of recovery keys. But after the final key is entered, unsealing fails because the KMS key is missing. We thought that the recovery keys were an alternative to the KMS key, but is this understanding wrong? If not, could you help us with the recovery steps? Or is there another way to recover the Vault if the KMS unseal key is lost?Thank you,Geir
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault...@googlegroups.com.
Mintel Group Ltd | 11 Pilgrim Street | London | EC4V 6RN
Registered in England: Number 1475918. | VAT Number: GB 232 9342 72
Contact details for our other offices can be found at http://www.mintel.com/office-locations.
This email and any attachments may include content that is confidential, privileged
or otherwise protected under applicable law. Unauthorised disclosure, copying, distribution
or use of the contents is prohibited and may be unlawful. If you have received this email in error,
including without appropriate authorisation, then please reply to the sender about the error
and delete this email and any attachments.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/3c001f5b-0d80-4728-a5ae-f83bf8c2b36f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/ee20f475-6b91-4aee-b4cd-2d4a4f33863b%40googlegroups.com.