Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Rotating Key Support #6

Closed
somejavadev opened this issue Apr 6, 2020 · 1 comment
Closed

Rotating Key Support #6

somejavadev opened this issue Apr 6, 2020 · 1 comment

Comments

@somejavadev
Copy link

Hi,

I would like to know, would the vault-init container support rotating keys as described here: https://cloud.google.com/kms/docs/rotating-keys or should any special care be taken when enabling key rotation?

@sethvargo
Copy link
Owner

Hi @somejavadev - you can rotate the keys, but AFAIK, Vault only encrypts the initial keys once. You'll create new KMS key versions, but only the first one will actually be used to decrypt the data.

You would need to do the following:

  1. Rotate the Cloud KMS key (creating a new key version)
  2. Rekey Vault

Enabling a Cloud KMS rotation schedule won't improve your security posture without also regularly re-keying Vault.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants