mirror of https://github.com/status-im/consul.git
d3881dd754
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. |
||
---|---|---|
.. | ||
agenttokens | ||
authmethod | ||
bindingrule | ||
bootstrap | ||
policy | ||
role | ||
rules | ||
token | ||
acl.go | ||
acl_helpers.go |