File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/web/docs/src/content/gateway/other-features/security Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ the subgraphs validating the HMAC signature.
59
59
import { defineConfig } from ' @graphql-hive/gateway'
60
60
61
61
export const gatewayConfig = defineConfig ({
62
- hmacUpstreamSignature : {
62
+ hmacSignature : {
63
63
secret: myHMACSecret // see step 1 for the secret key
64
64
}
65
65
// ...
@@ -195,9 +195,9 @@ Here's an example of an incoming subgraph request with the HMAC signature:
195
195
196
196
## Configuration
197
197
198
- ### ` hmacUpstreamSignature `
198
+ ### ` hmacSignature `
199
199
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
201
201
Gateway:
202
202
203
203
- ` secret ` : The secret key used for HMAC signing and verification. It should be a random, opaque
You can’t perform that action at this time.
0 commit comments