vault rewrite