vault icon indicating copy to clipboard operation
vault copied to clipboard

Add support for key rotation in the transit backend

Open lcabancla opened this issue 11 years ago • 5 comments

Allow encryption keys in the transit backend to be rotated. A new endpoint like 'transit/rotate/{my-key}' can be created to replace the existing encryption key but still allow data encrypted by old keys to be decrypted to minimize impact on clients.

lcabancla avatar Jul 13 '15 09:07 lcabancla

+1. This will be a very useful feature. I am considering using Vault transit for KEK management which i would like to rotate periodically.

rupskygill avatar Aug 25 '15 06:08 rupskygill

@rupskygill Just a FYI we are planning on adding a backend specifically for KEK support. It would be great to share your use cases with me and @jefferai and @vishalnayak

armon avatar Aug 25 '15 18:08 armon

Hi @armon @jefferai and @vishalnayak essentially my use-case is encryption-decryption service which holds a number of named symmetric keys used for application data and private key protection. Clients of the service send a data blob and key_name to the service to get encryption/decryption performed.

The service should manage entire lifecycle of these keys - creation, deletion, revocation and rotation etc. Key rotation is supported such that each key_name represents a key chain of current and rotated keys - where only current key is used for encrypting but data encrypted with old keys can be decrypted.

rupskygill avatar Aug 26 '15 03:08 rupskygill

Is the issue still open to contribution? I would like to give it a try

srixivas avatar Nov 21 '17 19:11 srixivas

Wow, this issue is still open! It's been in Vault for about two years now. Closing!

jefferai avatar Nov 21 '17 21:11 jefferai