Authentication
1.
2.
The two authentication methods are described in the following.
Token-based authentication
Token | Lifetime | Description |
---|---|---|
x-rockit-besession-token | 24h | Obtained by POST /be/v1/login |
x-rockit-beauth-token | 5m | Obtained by POST /be/v1/auth |
API key-based authentication
Key | Description |
---|---|
x-rockit-orgname | Unique and immutable organization identifier obtained from the ROCKIT Edge administrator. |
x-rockit-username | The unique and immutable username of the machine account. |
x-rockit-api-key | The ROCKIT Edge Backend API key obtained when creating the machine user, see POST /be/v1/users . |
POST /be/v1/login
orPOST /be/v1/auth
.