Export running config

Can I export all the running configuration and policies for Vault to a config file? If yes, how do I go about doing that, I don’t see mention of it in the docs.

I didn’t even know this one (exports configuration):

For policy definitions you could loop (quick and dirty) over all policies:

for i in $( vault policy list )
  do
   vault policy read ${i}
  done