Skip to content

The Context Engine establishes the caller’s identity at the inbound edge and routes the request to a connector. Each connector then runs in one authentication mode, set via the AGENTCUBE_AUTH_MODE environment variable, which decides how that connector attributes the call to Oracle — as a shared service account or as the individual end user.

PostureVariableHow Oracle sees the call
Service accountAGENTCUBE_AUTH_MODE=basic (or not set)One shared Oracle credential authenticates every call; all users are attributed to the service account.
Delegated credentialAGENTCUBE_AUTH_MODE=delegated_basicYou enter one Oracle username and password when you register the connector in the Context Engine. The Context Engine stores it encrypted and forwards it on every call; the connector itself holds no credential. Oracle sees that one named account on every call, and the Context Engine’s audit log records which signed-in user made each call when Context Engine sign-in (AGENTCUBE_CE_AUTH_MODE=oidc) is enabled.
Federated SSOAGENTCUBE_AUTH_MODE=internalThe Context Engine validates the inbound corporate-SSO token and mints a short-lived signed token the connector trusts; the per-user identity is carried through to Oracle. Setup steps: SSO.

Only federated SSO carries each end user’s identity through to Oracle, so Oracle audits and enforces security per person; the user’s Oracle username must match the email (or UPN) in their identity-provider token. Federated SSO also stores no Oracle credentials at all. Under a delegated credential, Oracle sees the one registered account, while the Context Engine’s audit log attributes each call to the signed-in user when Context Engine sign-in (AGENTCUBE_CE_AUTH_MODE=oidc) is enabled. See Security → Authentication & Identity for the full identity model.

Each Oracle connector (Planning, FCCS, and Essbase) deploys as a paired admin instance and user instance, selected with AGENTCUBE_CONNECTOR_MODE (admin or user); each instance runs the posture that fits its job.

  • Admin / metadata instance — runs the delegated credential posture (delegated_basic). Metadata and schema calls are attributed in Oracle’s audit log to the named credential you register for it in the Context Engine, not to a credential baked into the container.
  • User / data instance — federated SSO is encouraged, so each end user’s Oracle entitlements are enforced individually. For a pilot or sandbox where corporate SSO is not yet stood up, a delegated credential (delegated_basic) is an acceptable interim posture — one named Oracle account, registered in the Context Engine and shared by every user of that connector.

A plain shared service account (basic) is refused on a user/data instance: the connector will not start with AGENTCUBE_CONNECTOR_MODE=user and AGENTCUBE_AUTH_MODE=basic. Use federated SSO, or for a pilot a delegated credential (delegated_basic), which is allowed in user mode but still reaches Oracle as one shared account.

Switching has two sides that must match: the connector’s AGENTCUBE_AUTH_MODE (environment-variable changes require a container restart), and the auth mode on the connector’s registration in the Context Engine (Connected Systems in the admin console, or the connectors API). If the two disagree, calls through that connector fail.

To federated SSO (internal):

  1. Complete the SSO setup prerequisites:
  2. On the Context Engine, enable inbound SSO (AGENTCUBE_CE_AUTH_MODE=oidc plus your provider settings) and set AGENTCUBE_CE_INTERNAL_SIGNING_KEY. The Context Engine mints the per-call token from the verified sign-in, so internal connectors cannot work without both.
  3. Add the connector’s SSO environment variables (see Environment Variables).
  4. Set AGENTCUBE_AUTH_MODE=internal and restart the container.
  5. In the Context Engine’s Connected Systems, change the connector’s auth mode to internal.
  6. Verify the health endpoint: Invoke-RestMethod https://{connector_hostname}/health in PowerShell, or curl https://{connector_hostname}/health in bash. auth_mode should show the mode you set.

To delegated credential (delegated_basic):

  1. Clear any ESSBASE_USERNAME / ESSBASE_PASSWORD, PLANNING_USERNAME / PLANNING_PASSWORD, or FCCS_USERNAME / FCCS_PASSWORD from the connector’s environment.
  2. Set AGENTCUBE_AUTH_MODE=delegated_basic and restart the container.
  3. In the Context Engine’s Connected Systems, set the connector’s auth mode to delegated_basic and enter the Oracle username and password there.
  4. Verify via the health endpoint.

To service account (basic, admin instances only):

  1. Set AGENTCUBE_AUTH_MODE=basic (or remove the variable entirely).
  2. Ensure service-account credentials are configured (ESSBASE_USERNAME/ESSBASE_PASSWORD, PLANNING_USERNAME/PLANNING_PASSWORD, or FCCS_USERNAME/FCCS_PASSWORD).
  3. Restart the container, set the matching auth mode on the connector’s Context Engine registration, and verify via the health endpoint.
AspectService account (basic)Delegated credential (delegated_basic)Federated SSO (internal)
Identity Oracle seesShared service accountThe one account registered in the Context EngineThe signed-in end user
Data accessSame for all usersSame for all users (that account’s security profile)Governed by the data source’s per-user security profiles
Health check backend testTests connectivity using the service account (backend_connected)No live login test: backend_connected is omitted and backend_note explains why; watch backend.statusSame as delegated credential
AI platform setupNo SSO configuration neededNo SSO configuration neededUsers sign in through the Context Engine’s SSO on first connection
Container restart impactImmediate reconnectionImmediate reconnectionNo user impact; identity is re-established on every call