consul/command/acl/token
Matt Keeler d3881dd754
ACL Node Identities (#7970)
A Node Identity is very similar to a service identity. Its main targeted use is to allow creating tokens for use by Consul agents that will grant the necessary permissions for all the typical agent operations (node registration, coordinate updates, anti-entropy).

Half of this commit is for golden file based tests of the acl token and role cli output. Another big updates was to refactor many of the tests in agent/consul/acl_endpoint_test.go to use the same style of tests and the same helpers. Besides being less boiler plate in the tests it also uses a common way of starting a test server with ACLs that should operate without any warnings regarding deprecated non-uuid master tokens etc.
2020-06-16 12:54:27 -04:00
..
clone Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
create ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
delete Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
list ci: Add staticcheck and fix most errors 2020-05-28 11:59:58 -04:00
read Remove name from NewTestAgent 2020-03-31 16:13:44 -04:00
testdata ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
update ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
formatter.go ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
formatter_test.go ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
token.go