It's crucial to grasp the context of the domain and tenant in every request.
This understanding is key to navigating the system effectively. For a comprehensive
understanding, please refer to the
Regions, domains and tenants from the User Guidelines.
API Key / Token Authentication
Once a user is authenticated, a token is generated for authorization and access to a NebularStack environment.
In short, NebularStack uses JWT (JSON Web tokens), which is the proposed Internet standard for creating data with optional signature whose payload holds JSON that asserts some number of claims.
The tokens are signed using certificates. Any tampering with the token would invalidate it.
The life span of an unused token is 12 months, however you can purge a token using
the API or simply manage them via our web frontend.
This endpoint should not be called often. Once you have a working API key you
can safely reuse it for subsequent requests until it expires or is deleted.
We recommend that you create and manage your API keys from our console (UI)
interface. For external integrations we recommend you create a dedicated user
with the relevant roles assigned on the applicable domains or tenants, and
create an API key for that user from the console (UI). Each identity user is
limited to a maximum of 10 API keys.
Once an API key is deleted it will cease to work immediately, and any request
using it will be rejected.
Almost all requests require a X-Auth-Token header to any service endpoint.
POST
/v3/token
(identity)
Authenticate and obtain valid token (V3).
Service identity
Authentication tokens expire after 12 months of not being used actively.
Request Parameters
Name
In
Type
Description
MUST include
X-Domain
header
None
domain context to which obtained token's context must be scoped.
X-Tenant-ID
header
None
ID of the tenant to which the obtained token's context must be scoped.
X-Timezone
header
string
Timezone for response datetime property values. (default UTC)
domain
body
string
parent domain for user account.
X
otp
body
string
required only if MFA is enabled on the authenticating user.