diff --git a/website/content/api-docs/acl/binding-rules.mdx b/website/content/api-docs/acl/binding-rules.mdx index f905247281..92c0ffb12f 100644 --- a/website/content/api-docs/acl/binding-rules.mdx +++ b/website/content/api-docs/acl/binding-rules.mdx @@ -56,37 +56,37 @@ The table below shows this endpoint's support for - `BindType=service` - The computed bind name value is used as an `ACLServiceIdentity.ServiceName` field in the token that is created. - ```json - { ...other fields... - "ServiceIdentities": [ - { "ServiceName": "" } - ] - } - ``` + ```json + { ...other fields... + "ServiceIdentities": [ + { "ServiceName": "" } + ] + } + ``` - `BindType=node` - The computed bind name value is used as an `ACLNodeIdentity.NodeName` field in the token that is created. - ```json - { ...other fields... - "NodeIdentities": [ - { "NodeName": "", "Datacenter": "" } - ] - } - ``` + ```json + { ...other fields... + "NodeIdentities": [ + { "NodeName": "", "Datacenter": "" } + ] + } + ``` - `BindType=role` - The computed bind name value is used as a `RoleLink.Name` field in the token that is created. This binding rule will only apply if a role with the given name exists at login-time. If it does not then this rule is ignored. - ```json - { ...other fields... - "Roles": [ - { "Name": "" } - ] - } - ``` + ```json + { ...other fields... + "Roles": [ + { "Name": "" } + ] + } + ``` - `BindName` `(string: )` - The name to bind to a token at login-time. What it binds to can be adjusted with different values of the @@ -236,37 +236,37 @@ The table below shows this endpoint's support for - `BindType=service` - The computed bind name value is used as an `ACLServiceIdentity.ServiceName` field in the token that is created. - ```json - { ...other fields... - "ServiceIdentities": [ - { "ServiceName": "" } - ] - } - ``` + ```json + { ...other fields... + "ServiceIdentities": [ + { "ServiceName": "" } + ] + } + ``` - `BindType=node` - The computed bind name value is used as an `ACLNodeIdentity.NodeName` field in the token that is created. - ```json - { ...other fields... - "NodeIdentities": [ - { "NodeName": "", "Datacenter": "" } - ] - } - ``` + ```json + { ...other fields... + "NodeIdentities": [ + { "NodeName": "", "Datacenter": "" } + ] + } + ``` - `BindType=role` - The computed bind name value is used as a `RoleLink.Name` field in the token that is created. This binding rule will only apply if a role with the given name exists at login-time. If it does not then this rule is ignored. - ```json - { ...other fields... - "Roles": [ - { "Name": "" } - ] - } - ``` + ```json + { ...other fields... + "Roles": [ + { "Name": "" } + ] + } + ``` - `BindName` `(string: )` - The name to bind to a token at login-time. What it binds to can be adjusted with different values of the