Skip to content

Commit

Permalink
Backport of Fix create dns token docs into release/1.16.x (#18939)
Browse files Browse the repository at this point in the history
backport of commit 24797c9

Co-authored-by: Ronald Ekambi <ronekambi@gmail.com>
  • Loading branch information
1 parent d7edc01 commit 8d560ea
Showing 1 changed file with 20 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,13 @@ The following example policy is defined in a file. The policy grants the appropr
<CodeTabs>

```hcl
partition "default" {
namespace "default" {
query_prefix "" {
policy = "read"
}
}
}
partition_prefix "" {
namespace_prefix "" {
node_prefix "" {
Expand All @@ -178,15 +185,25 @@ partition_prefix "" {
service_prefix "" {
policy = "read"
}
query_prefix "" {
policy = "read"
}
}
}
```

```json
{
"partition": {
"default": [{
"namespace": {
"default": [{
"query_prefix": {
"": [{
"policy": "read"
}]
}
}]
}
}]
},
"partition_prefix": {
"": [{
"namespace_prefix": {
Expand All @@ -196,11 +213,6 @@ partition_prefix "" {
"policy": "read"
}]
},
"query_prefix": {
"": [{
"policy": "read"
}]
},
"service_prefix": {
"": [{
"policy": "read"
Expand Down

0 comments on commit 8d560ea

Please sign in to comment.