title: Hashicorp Vault cli return 403 when trying to use kv
body: <p>I set up vault backed by a consul cluster. I secured it with https and am trying to use the cli on a separate machine to get and set secrets in the kv engine. I am using version 1.0.2 of both the CLI and Vault server.</p>
  
  <p>I have logged in with the root token so I should have access to everything. I have also set my VAULT_ADDR appropriately.</p>
  
  <p>Here is my request:</p>
  
  <p><code>vault kv put secret/my-secret my-value=yea</code></p>
  
  <p>Here is the response:</p>
  
  <pre><code>Error making API request.
  
  URL: GET https://{my-vault-address}/v1/sys/internal/ui/mounts/secret/my-secret
  Code: 403. Errors:
  
  * preflight capability check returned 403, please ensure client's policies grant access to path "secret/my-secret/"
  </code></pre>
  
  <p>I don't understand what is happening here. I am able to set and read secrets in the kv engine no problem from the vault ui. What am I missing?</p>