consul/command/acl/role/testdata/FormatRole/complex.json.golden
Ronald bbef879f85
[NET-5325] ACL templated policies support in tokens and roles (#18708)
* [NET-5325] ACL templated policies support in tokens and roles
- Add API support for creating tokens/roles with templated-policies
- Add CLI support for creating tokens/roles with templated-policies

* adding changelog
2023-09-08 12:45:24 +00:00

51 lines
1.2 KiB
Plaintext

{
"ID": "c29c4ee4-bca6-474e-be37-7d9606f9582a",
"Name": "complex",
"Description": "test role complex",
"Policies": [
{
"ID": "beb04680-815b-4d7c-9e33-3d707c24672c",
"Name": "hobbiton"
},
{
"ID": "18788457-584c-4812-80d3-23d403148a90",
"Name": "bywater"
}
],
"ServiceIdentities": [
{
"ServiceName": "gardener",
"Datacenters": [
"middleearth-northwest"
]
}
],
"NodeIdentities": [
{
"NodeName": "bagend",
"Datacenter": "middleearth-northwest"
}
],
"TemplatedPolicies": [
{
"TemplateName": "builtin/service",
"TemplateVariables": {
"Name": "gardener"
},
"Datacenters": [
"middleearth-northwest",
"somewhere-east"
]
},
{
"TemplateName": "builtin/node",
"TemplateVariables": {
"Name": "bagend"
}
}
],
"Hash": "YWJjZGVmZ2g=",
"CreateIndex": 5,
"ModifyIndex": 10,
"Namespace": "foo"
}