mirror of
https://github.com/graphql-hive/console
synced 2026-05-23 17:18:23 +00:00
fix(docs) Fix HMAC Upstream Signature option gateway option name (#6529)
This commit is contained in:
parent
792fb51fcc
commit
728b9b4804
1 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ the subgraphs validating the HMAC signature.
|
|||
import { defineConfig } from '@graphql-hive/gateway'
|
||||
|
||||
export const gatewayConfig = defineConfig({
|
||||
hmacUpstreamSignature: {
|
||||
hmacSignature: {
|
||||
secret: myHMACSecret // see step 1 for the secret key
|
||||
}
|
||||
// ...
|
||||
|
|
@ -195,9 +195,9 @@ Here's an example of an incoming subgraph request with the HMAC signature:
|
|||
|
||||
## Configuration
|
||||
|
||||
### `hmacUpstreamSignature`
|
||||
### `hmacSignature`
|
||||
|
||||
The `hmacUpstreamSignature` flag allows you to customize the HMAC signing behavior in the Hive
|
||||
The `hmacSignature` flag allows you to customize the HMAC signing behavior in the Hive
|
||||
Gateway:
|
||||
|
||||
- `secret`: The secret key used for HMAC signing and verification. It should be a random, opaque
|
||||
|
|
|
|||
Loading…
Reference in a new issue