title: How to atomically update multiple kv entries with consul?
body: <p>Let's assume we have the following key value pairs imported to consul: </p>
  
  <pre><code>curl -X PUT -d 'val1' http://localhost:8500/v1/kv/stuff/key1
  curl -X PUT -d 'val2' http://localhost:8500/v1/kv/stuff/key2
  curl -X PUT -d 'val3' http://localhost:8500/v1/kv/stuff/key3
  </code></pre>
  
  <p>I it possible to atomically update them all together? </p>
  
  <p>The reason I am asking is that we use consule for configuration management and do not won't that depending key value pairs are only partially updated and thus in an inconsistent state. </p>