Generate Authorization Key

All APIs take a ‘access key ID’ and ‘secret key’ param in the header. These key-secret pairs are associated with a user and allows the permission to the user to request the API.

Send a POST request to https://backend.cloud.nodeflux.io/auth/signatures, by providing these arguments as application/json with request payload:

{
"access_key": "YOUR_ACCESS_KEY",
"secret_key": "YOUR_SECRET_KEY"
}

post
Generate Authorization Key

https://backend.cloud.nodeflux.io/auth/signatures
This endpoint gives you information about x-nodeflux-timestamp' and 'token' to be constructed in your authorization key.
Request
Response
Request
Body Parameters
access_key
required
string
secret_key
required
string
Response
200: OK
{
"headers": {
"x-nodeflux-timestamp": "20200726T071120Z"
},
"ok": true,
"token": "a8813529a64df777046342f44e4ef920c26181bccfca8de0edd55854b17b62c3"
}

After you get the x-nodeflux-timestamp and token, please construct your authorization key with this format:

NODEFLUX-HMAC-SHA256 Credential={ACCESS_KEY}/{DATE}/nodeflux.api.v1beta1.ImageAnalytic/StreamImageAnalytic, SignedHeaders=x-nodeflux-timestamp, Signature={TOKEN}

Component to be changed

Value

ACCESS_KEY

Your access key from IdentifAI application

DATE

Get the date from x-nodeflux-timestamp (yyyymmdd)

TOKEN

Your token from endpoint response

The authorization key will be used as an identifier when you call each service API.