Skip to content

Commit

Permalink
Fix: key-auth-enc plugin request must use key_id (#7725)
Browse files Browse the repository at this point in the history
key-auth-enc plugin does not retrieve consumer from keys
  • Loading branch information
Guaris authored Aug 6, 2024
1 parent c923f62 commit e301fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/_hub/kong-inc/key-auth-enc/overview/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,10 @@ Retrieve a [consumer][consumer-object] associated with an API
key by making the following request:

```bash
curl -X GET http://localhost:8001/key-auths-enc/{key or id}/consumer
curl -X GET http://localhost:8001/key-auths-enc/{key_id}/consumer
```

`key or id`: The `id` or `key` property of the API key for which to get the
`key_id`: The `id` property of the API key for the
associated consumer.

```json
Expand Down

0 comments on commit e301fe8

Please sign in to comment.