Skip to content

Commit

Permalink
capitalize credential
Browse files Browse the repository at this point in the history
  • Loading branch information
kayx23 authored Dec 25, 2024
1 parent f5e2aae commit 0305547
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/en/latest/plugins/key-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
}'
```

Create `key-auth` credential for the consumer:
Create `key-auth` Credential for the consumer:

```shell
curl "http://127.0.0.1:9180/apisix/admin/consumers/jack/credentials" -X PUT \
Expand Down Expand Up @@ -174,7 +174,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
}'
```

Create `key-auth` credential for the consumer:
Create `key-auth` Credential for the consumer:

```shell
curl "http://127.0.0.1:9180/apisix/admin/consumers/jack/credentials" -X PUT \
Expand Down Expand Up @@ -245,7 +245,7 @@ You should see an `HTTP/1.1 200 OK` response with the following:
}
```

Note that the credential `jack-key` is visible to the Upstream service.
Note that the Credential `jack-key` is visible to the Upstream service.

#### Hide Credentials

Expand Down Expand Up @@ -293,7 +293,7 @@ You should see an `HTTP/1.1 200 OK` response with the following:
}
```

Note that the credential `jack-key` is no longer visible to the Upstream service.
Note that the Credential `jack-key` is no longer visible to the Upstream service.

### Demonstrate Priority of Keys in Header and Query

Expand All @@ -309,7 +309,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
}'
```

Create `key-auth` credential for the consumer:
Create `key-auth` Credential for the consumer:

```shell
curl "http://127.0.0.1:9180/apisix/admin/consumers/jack/credentials" -X PUT \
Expand Down Expand Up @@ -397,7 +397,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
}'
```

Create `key-auth` credential for the consumer:
Create `key-auth` Credential for the consumer:

```shell
curl "http://127.0.0.1:9180/apisix/admin/consumers/jack/credentials" -X PUT \
Expand Down Expand Up @@ -486,7 +486,7 @@ curl "http://127.0.0.1:9180/apisix/admin/consumers" -X PUT \
}'
```

Create the `key-auth` credential for the Consumer `jack`:
Create the `key-auth` Credential for the Consumer `jack`:

```shell
curl "http://127.0.0.1:9180/apisix/admin/consumers/jack/credentials" -X PUT \
Expand Down

0 comments on commit 0305547

Please sign in to comment.