consul/command
Luke Kysow 6675af4b0a Give descriptive error if auth method not found (#10163)
* Give descriptive error if auth method not found

Previously during a `consul login -method=blah`, if the auth method was not found, the
error returned would be "ACL not found". This is potentially confusing
because there may be many different ACLs involved in a login: the ACL of
the Consul client, perhaps the binding rule or the auth method.

Now the error will be "auth method blah not found", which is much easier
to debug.
2021-05-03 20:39:55 +00:00
..
acl add tailing backtick 2020-10-07 07:14:56 +08:00
agent agent: add apiServers type for managing HTTP servers 2020-09-03 13:40:12 -04:00
catalog Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
config connect: support defining intentions using layer 7 criteria (#8839) 2020-10-06 17:09:13 -05:00
connect [1.9.x] connect: update supported envoy versions to 1.16.3, 1.15.4, 1.14.7, 1.13.7 (#10105) 2021-04-29 15:49:16 -05:00
debug testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
event Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
exec Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
flags ci: update to Go 1.15.4 and alpine:3.12 (#9036) 2020-11-13 18:03:37 +00:00
forceleave Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
helpers Centralized Config CLI (#5731) 2019-04-30 16:27:16 -07:00
info Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
intention Merge pull request #9570 from hashicorp/bugfix/9498 2021-01-19 21:30:47 +00:00
join Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
keygen Update default gossip encryption key size to 32 bytes 2019-07-30 09:45:41 -06:00
keyring add -list-primary to `consul keyring` command (#8692) 2020-09-24 20:04:20 +02:00
kv testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04:00
leave Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
lock Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
login Give descriptive error if auth method not found (#10163) 2021-05-03 20:39:55 +00:00
logout testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
maint remove nodeName call when using -service 2020-09-23 10:45:16 +02:00
members Convert the remaining calls to NewTestAgentWithFields 2020-03-31 17:14:55 -04:00
monitor Rename NewTestAgentWithFields to StartTestAgent 2020-03-31 17:14:55 -04:00
operator Add a CLI command for retrieving the autopilot configuration. (#9142) 2020-11-11 18:19:32 +00:00
reload Implement Client Agent Auto Config 2020-06-17 16:49:46 -04:00
rtt Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
services testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04:00
snapshot Fix panic bug in snapshot inspect (#10091) (#10108) 2021-04-23 21:29:06 +01:00
tls introduce certopts (#9606) 2021-03-22 09:17:19 +00:00
validate testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04:00
version add v to version pretty formatter (#8341) 2020-07-20 17:43:10 -04:00
watch testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
commands_oss.go cli: Add consul intention list command (based on PR #6825) (#9468) 2021-01-12 20:15:29 +00:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00