What you will learn
- Say what the identity data plane is, and where its two halves run
- Follow the eight steps of flow F35, from the orchestrator's call to the NATS announcement
- Say which service does the work, and which services it calls on the way
- Say how the new identity data plane feeds the gateway step
- Compare it with the on-prem environment ThunderID install
Before you start
- Create an environment and its AI gateway on Choreo Cloud Not started In progress Done
On this page
Every organisation environment on Choreo Cloud has its own identity service, where agent identities live. This lesson follows how that service is built. It is the thunder step of the recipe from the last lesson, and the full flow has the id F35.
Two halves
The Identity PlatformA Choreo Cloud product that gives each organisation its own ThunderID. Its control plane runs on cloud-cp, and a data plane half runs for each organisation and environment.See it in the glossary has two halves.
- The control plane runs on
cloud-cp. It is made ofapi-identity-platformandorg-mgt-service, and theidentity-platform-provisionerthat builds the other half. These are components of theidentity-platformproject. - The data plane half, widp-dpThe per-organisation, per-environment ThunderID that the identity-platform-provisioner creates on the customer data plane. It starts empty, and the Identity Platform control plane fills it.See it in the glossary, is created for each organisation and environment on the customer data plane. It is a ThunderID workload.
The data plane half starts empty. The control plane fills it with versions that are promoted to it. Lesson L12.2.5 shows how Agent Manager uses that.
The eight steps
The orchestrator asks for the data plane
The orchestrator runs the thunder step of the agent-manager recipe. It calls the
identity-platform-provisionercreate endpoint through the internal gateway with the clientIDENTITY_PLATFORM_PROVISIONER_API, acting for the organisation inX-Impersonate-Org.It asks for a public address
Before it builds anything, the provisioner asks platform-api for an opaque public URL prefix for the environment and records it on the Resource as an annotation. That URL is the token issuer of the new data plane.
The provisioner makes sure the organisation exists on the control plane
Before it writes any OpenChoreo object, the provisioner ensures that the organisation’s defaults exist in
api-identity-platform, so the new data plane can be registered and filled. It calls the control plane with its own client, IDENTITY_PLATFORM_CP_M2M_AUTH_APP.It applies the widp-dp ResourceType
The provisioner applies the organisation’s widp-dp ResourceType through platform-api’s oc-dp proxy. An organisation that already has one keeps it when its template revision matches.
It registers the data plane on the control plane
The provisioner registers the data plane as a gateway called
widp-dp-<org handle>-<env>on the Identity Platform control plane, with a freshly generated management API key.It applies the Resource and the binding
The provisioner applies the environment’s Resource and then a ResourceReleaseBinding. OpenChoreo renders the binding into the customer data plane, where the ThunderID workload starts empty.
The control plane fills it
The control plane fills the empty data plane with promoted versions. Right after the objects are applied, the provisioner publishes that provisioning is applied. It then waits for the binding to be Ready, sets the gateway variables on the control plane, and publishes that provisioning is done on NATS, with the data plane URL, token URL and JWKS URL.
The result feeds the gateway step
The issuer and the JWKS address from the thunder step go into the agent-manager step. So the new gateway trusts the keys of the new identity data plane.
Which services do the work
| Service | Where | Its part |
|---|---|---|
| orchestrator | cloud-cp | Runs the recipe and calls the provisioner |
| identity-platform-provisioner | cloud-cp | Runs steps 2 to 7 |
| platform-api | cloud-cp | Mints the URL prefix and carries the ResourceType, Resource and binding to OpenChoreo |
api-identity-platform | cloud-cp | Holds the organisation’s defaults and the data plane’s registration |
| OpenChoreo | cloud-dp-oc-cp and the data plane | Renders the binding into the workload |
| NATS | cloud-cp | Carries the announcement that the work is done |
No Argo Workflow and no Terraform run is part of these steps in the code read. Terraform only prepares the clusters and databases once.
Compared with on-prem
| Topic | On-prem | Choreo Cloud |
|---|---|---|
| Who builds it | You run a script that installs a ThunderID chart for the environment | The identity-platform-provisioner, called by the orchestrator |
| What it is | The upstream ThunderID chart, one for each environment | A widp-dp workload, rendered by OpenChoreo from a ResourceType |
| How Agent Manager learns where it is | The script registers the environment’s sign-in address and stores its system client in Agent Manager | The thunder step passes the issuer and JWKS address on, and Agent Manager is told the address in the agent-manager step |
| Who fills it | Agent Manager creates identities in it directly | The control plane promotes versions into it |
What is the same: each environment has its own ThunderID, and the gateway trusts the keys of that ThunderID.
Your turn
Open Try it. Play flow F35 and answer three questions. Which step ensures the organisation’s defaults before any OpenChoreo object is written? Which step turns the new data plane from empty to full? Which step carries the result on to the gateway?
Recap
- The Identity Platform has a control plane on
cloud-cpand a data plane half, widp-dp, for each organisation and environment. - The identity-platform-provisioner does the work in steps two to seven, called by the orchestrator in the thunder step of the recipe. The first and the last step are the orchestrator’s.
- The data plane starts empty and the control plane fills it. The provisioner announces the result on NATS.
- The issuer and JWKS address of the new data plane go to the gateway step.
- On-prem, a script installs a ThunderID chart instead.
Wrap up
Recap
Tick each one when you could explain it to a colleague.
Finished?
Chapter complete. Every lesson in this chapter is done.
Progress cannot be saved in this browser, so it will be forgotten when you leave this page.
Quick check
Spotted something wrong or unclear in this lesson? Report an inaccuracy (opens GitHub in a new tab)