consul/command/acl/token
R.B. Boyer cc1aa3f973 acl: adding Roles to Tokens (#5514)
Roles are named and can express the same bundle of permissions that can
currently be assigned to a Token (lists of Policies and Service
Identities). The difference with a Role is that it not itself a bearer
token, but just another entity that can be tied to a Token.

This lets an operator potentially curate a set of smaller reusable
Policies and compose them together into reusable Roles, rather than
always exploding that same list of Policies on any Token that needs
similar permissions.

This also refactors the acl replication code to be semi-generic to avoid
3x copypasta.
2019-04-26 14:49:12 -05:00
..
clone acl: tokens can be created with an optional expiration time (#5353) 2019-04-26 14:47:51 -05:00
create acl: adding Roles to Tokens (#5514) 2019-04-26 14:49:12 -05:00
delete Add fmt and vet (#5671) 2019-04-25 12:26:33 -04:00
list Add fmt and vet (#5671) 2019-04-25 12:26:33 -04:00
read Add fmt and vet (#5671) 2019-04-25 12:26:33 -04:00
update acl: adding Roles to Tokens (#5514) 2019-04-26 14:49:12 -05:00
token.go Doc changes for 1.4 Final (#4870) 2018-11-13 13:43:53 +00:00