The kgConfig object configures knowledge graph indexer settings for connections. Properties vary by connector type and authentication method.
General properties
Whether the knowledge graph is enabled for this connection.
kgConfig.useConnectorAuth Whether to use existing connector authentication for knowledge graph operations.
When true, the knowledge graph uses the connection’s authentication.
When false, the knowledge graph uses separate authentication specified in kgConfig.authProperties.
The value can only be false when the connection’s authentication method is OAuth .
Knowledge graph scheduling configuration. Show kgSchedule properties
kgConfig.kgSchedule.timeZone Time zone for knowledge graph scheduling. Format: America/New_York or other IANA time zone identifier.
Cron expression defining the schedule for knowledge graph operations. Format follows standard cron syntax. Example: 0 0 18 ? * 1,3 * for 6 PM on Mondays and Wednesdays.
Authentication properties for knowledge graph operations. These properties can differ from the main connection’s authentication settings. Properties vary by OAuth type (u2m or m2m). Show U2M authProperties properties
kgConfig.authProperties.authType Authentication type for knowledge graph operations. Must be oauth.
kgConfig.authProperties.oAuthType OAuth authentication type for knowledge graph operations. Must be u2m.
kgConfig.authProperties.oAuthAppRegistrationID Show M2M authProperties properties
kgConfig.authProperties.authType Authentication type for knowledge graph operations. Must be oauth.
kgConfig.authProperties.oAuthType OAuth authentication type for knowledge graph operations. Must be m2m.
kgConfig.authProperties.clientId OAuth client ID for knowledge graph operations.
kgConfig.authProperties.clientSecret Reference to a Prophecy secret containing the OAuth client secret. Show clientSecret properties
kgConfig.authProperties.clientSecret.kind Secret kind. Must be prophecy.
kgConfig.authProperties.clientSecret.subKind Secret sub-type. Must be text for client secrets.
kgConfig.authProperties.clientSecret.type Type of reference. Must be secret.
kgConfig.authProperties.clientSecret.properties Properties identifying the secret by ID and name.
kgConfig.authProperties.clientSecret.properties.id kgConfig.authProperties.clientSecret.properties.name The name of the secret stored in Prophecy.