Ryan Ooi
ae6cc78f91
add tailing backtick
2020-10-07 07:14:56 +08:00
Ryan Ooi
2ce398b62a
Update acl-method command example
2020-10-07 06:44:24 +08:00
Daniel Nephin
8d35e37b3c
testing: Remove all the defer os.Removeall
...
Now that testutil uses t.Cleanup to remove the directory the caller no longer has to manage
the removal
2020-08-14 19:58:53 -04:00
Matt Keeler
2c7844d220
Implement Client Agent Auto Config
...
There are a couple of things in here.
First, just like auto encrypt, any Cluster.AutoConfig RPC will implicitly use the less secure RPC mechanism.
This drastically modifies how the Consul Agent starts up and moves most of the responsibilities (other than signal handling) from the cli command and into the Agent.
2020-06-17 16:49:46 -04:00
R.B. Boyer
7bd7895047
acl: allow auth methods created in the primary datacenter to optionally create global tokens ( #7899 )
2020-06-01 11:44:47 -05:00
R.B. Boyer
c54211ad52
cli: ensure 'acl auth-method update' doesn't deep merge the Config field ( #7839 )
2020-05-11 14:21:17 -05:00
R.B. Boyer
bf70ad1802
cli: oss refactors to support making the auth method CLI aware of namespace rules in enterprise ( #7812 )
2020-05-07 17:08:42 -05:00
R.B. Boyer
095f0503e8
test: make auth method cli crud test work in both oss and ent ( #7800 )
2020-05-06 15:16:50 -05:00
R.B. Boyer
ea21280636
test: make auth method cli crud test helper ignore the default namespace ( #7799 )
2020-05-06 15:09:47 -05:00
R.B. Boyer
c9c557477b
acl: add MaxTokenTTL field to auth methods ( #7779 )
...
When set to a non zero value it will limit the ExpirationTime of all
tokens created via the auth method.
2020-05-04 17:02:57 -05:00
s-christoff
2535cb85eb
cli: Add -config flag to "acl authmethod update/create" ( #7776 )
2020-05-04 16:21:28 -05:00
R.B. Boyer
265d2ea9e1
acl: add DisplayName field to auth methods ( #7769 )
...
Also add a few missing acl fields in the api.
2020-05-04 15:18:25 -05:00
Daniel Nephin
8b6877febd
Remove name from NewTestAgent
...
Using:
git grep -l 'NewTestAgent(t, t.Name(),' | \
xargs sed -i -e 's/NewTestAgent(t, t.Name(),/NewTestAgent(t,/g'
2020-03-31 16:13:44 -04:00
Artur Mullakhmetov
e5b3b329ea
Add ACL CLI commands output format option.
...
Add command level formatter, that incapsulates command output printing
logiс that depends on the command `-format` option.
Move Print* functions from acl_helpers to prettyFormatter. Add jsonFormatter.
2020-03-26 19:05:10 +03:00
Chris Piraino
3dd0b59793
Allow users to configure either unstructured or JSON logging ( #7130 )
...
* hclog Allow users to choose between unstructured and JSON logging
2020-01-28 17:50:41 -06:00
Matt Keeler
b9996e6bbe
Add Namespace support to the API module and the CLI commands ( #6874 )
...
Also update the Docs and fixup the HTTP API to return proper errors when someone attempts to use Namespaces with an OSS agent.
Add Namespace HTTP API docs
Make all API endpoints disallow unknown fields
2019-12-06 11:14:56 -05:00
R.B. Boyer
41dac76ab3
docs: add documentation for all secure acl introduction work ( #5640 )
2019-05-01 16:11:23 -05:00
R.B. Boyer
5a505c5b3a
acl: adding support for kubernetes auth provider login ( #5600 )
...
* auth providers
* binding rules
* auth provider for kubernetes
* login/logout
2019-04-26 14:49:25 -05:00