consul/command/acl/role/testdata/FormatRole
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
..
basic.json.golden ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
basic.pretty-meta.golden ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
basic.pretty.golden ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
complex.json.golden ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
complex.pretty-meta.golden ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00
complex.pretty.golden ACL Node Identities (#7970) 2020-06-16 12:54:27 -04:00