#!/bin/bash

for FILE in vault_download/*.json; do
  VPROF="$(basename """$FILE""" .json)"

  cat "$FILE"|kubectl -n vault exec -i vault-0 -- vault kv put secret/$VPROF -
done
