-
Compute a SHA-256 HMAC with:
- Secret: the parent API key
- Message: a URL-encoded list of query parameters
- Concatenate the SHA-256 HMAC with the list of query parameters into a single string.
-
Encode the resulting string in
base64
.
Usage
Parameters
- C#
- Go
- Java
- JavaScript
- Kotlin
- PHP
- Python
- Ruby
- Scala
- Swift
The API key to be used as secret for the secured API key.
The secured API key inherits all restrictions from its parent.
You can’t use an Admin API key as parent.
You must apply at least one restriction when creating a secured API key.
If you try to use a secured API key with the same restrictions as its parent key,
the API returns a
403 Forbidden
error.