title: HASHICORP VAULT: How to read multiple items from a file and write them to Vault
body: <p>I am able to write values to Vault from a json file :</p>
  
  <pre><code># cat secrets.json 
  { "value": "bGktzwatc" }
  { "value": "AGktzwatB" }
  </code></pre>
  
  <p>While trying to create a new value by reading from json file, Vault is reading only the first value from the file : </p>
  
  <pre><code># ./vault write secret/passwd1 @secrets.json
  Success! Data written to: secret/passwd1
  # ./vault read secret/passwd1
  Key                 Value
  ---                 -----
  refresh_interval    768h0m0s
  value               bGktzwatc
  </code></pre>
  
  <p>Is it possible to read multiple values from a file and write to different keys through vault?</p>
  
  <p>My Requirement is adding values to the multiple keys by reading from a file:</p>
  
  <pre><code>Key                 Value
  ---                 -----
  refresh_interval    768h0m0s
  value               bGktzwatc
  
  Key                 Value
  ---                 -----
  refresh_interval    768h0m0s
  value               AGktzwatB
  </code></pre>