knife vault rotate all keys -- tries to rotate deleted vault

222 Views Asked by At

I'm currently getting the error ERROR: ChefVault::Exceptions::KeysNotFound: xxxx/xxxx_keys could not be found during a knife vault rotate all keys command.

The vault in question was deleted some time ago and so this should no longer try and rotate the key.

Does anyone know of a way to refresh the list of vaults for knife to rotate the keys on?

Thanks

1

There are 1 best solutions below

4
On

Verify if vault was removed completely, run knife data bag show <vault name>. There may be some leftovers (<item name> data bags) on the list, you can remove it by running knife data bag delete <vault name> <item name>.