mantl / consul-cli

Command line interface to Consul HTTP API
Apache License 2.0
251 stars 67 forks source link

No response for kv-read on valid path with a valid ACL token, but not relevant to the path being read #36

Open ramukima opened 8 years ago

ramukima commented 8 years ago

By default, acl denied at Consul startup.

I have a path a/b/c protected by acl-1. Another path d/e/f protected by acl-2. I attempted the following that silently comes out without any response.

consul-cli kv read a/b/c --token acl-2-token

acl-2-token is a valid token but not for path a/b/c. The response was nil. It will be easier to write error on the CLI output if the HTTP call even in this case if any.