Skip to content

Commit 728b9b4

Browse files
authored
fix(docs) Fix HMAC Upstream Signature option gateway option name (#6529)
1 parent 792fb51 commit 728b9b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/web/docs/src/content/gateway/other-features/security/hmac-signature.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ the subgraphs validating the HMAC signature.
5959
import { defineConfig } from '@graphql-hive/gateway'
6060

6161
export const gatewayConfig = defineConfig({
62-
hmacUpstreamSignature: {
62+
hmacSignature: {
6363
secret: myHMACSecret // see step 1 for the secret key
6464
}
6565
// ...
@@ -195,9 +195,9 @@ Here's an example of an incoming subgraph request with the HMAC signature:
195195

196196
## Configuration
197197

198-
### `hmacUpstreamSignature`
198+
### `hmacSignature`
199199

200-
The `hmacUpstreamSignature` flag allows you to customize the HMAC signing behavior in the Hive
200+
The `hmacSignature` flag allows you to customize the HMAC signing behavior in the Hive
201201
Gateway:
202202

203203
- `secret`: The secret key used for HMAC signing and verification. It should be a random, opaque

0 commit comments

Comments
 (0)