API key configs
Events emitted when API key configuration settings are updated in a Qlik Cloud tenant. These events enable monitoring of API key configuration changes for compliance and security.
These events replace the legacy API key configs events. Use these events for all new implementations.
Published when the API key configuration is updated.
Payload
object- idstringRequired
Identifies the event.
- timestring
Timestamp of when the occurrence happened. Must adhere to RFC 3339.
- typestringRequired
Identifies the type of event related to the originating occurrence.
- sourcestringRequired
Identifies the context in which an event happened.
- specversionstringRequired
The version of the CloudEvents specification which the event uses.
- datacontenttypestring
Content type of the data value. Must adhere to RFC 2046 format.
- useridstring
Unique identifier for the user triggering the event.
- authtypestring
Representing the type of principal that triggered the occurrence.
- originipstring
Origin IP address.
- tenantidstringRequired
Unique identifier for the tenant related to the event.
- sessionidstring
Unique identifier for the session related to the event.
- authclaimsstring
A JSON string representing claims of the principal that triggered the event.
- dataobject
Details of the updated API key configuration.
data properties
- apiKeysEnabledbooleanRequired
Determines if API keys functionality is enabled.
- maxKeysPerUserintegerRequired
Maximum number of active API keys per user.
- maxApiKeyExpirystringRequired
Maximum allowed lifetime of an API key, in ISO 8601 duration format.
- scimExternalClientExpirystringRequired
Expiry of the SCIM
externalClienttoken in ISO 8601 duration format, for exampleP365Dfor 365 days. Set when creating anexternalClientAPI key for a SCIM-compatible identity provider.
-
com.qlik.core.api-keys-config.updated
Example payload of the "API key config updated" event
{ "id": "A234-1234-1234", "time": "2023-01-01T12:00:00Z", "type": "com.qlik.core.api-keys-config.updated", "source": "com.qlik/my-service", "specversion": "1.0.2", "datacontenttype": "application/json", "userid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authtype": "api-keys", "originip": "0.0.0.0", "tenantid": "Rn8kQvY2wZ4pL7mX1jB6tC3dS5fH0gJ9", "sessionid": "9fBc2dE4gH6jK8mN0pQ2rS4tV6wX8yZ0", "authclaims": "{\"sub\":\"VZhiEfgW2bLd7HgR-jjzAh6VnicipweT\",\"tenantId\":\"VZhiEfgW2bLd7HgR-jjzAh6VnicipweT\"}", "data": { "apiKeysEnabled": true, "maxKeysPerUser": 5, "maxApiKeyExpiry": "PT24H", "scimExternalClientExpiry": "P365D" }}