Skip to main content

Deploy

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

When you create or change an application, flow, role, connection, or any other resource in the Choreo Identity & Access Management Console, the change is saved but not live. It takes effect in an environment only after you deploy it there. This page explains why, and what you decide.

Why You Deploy: Control Plane and Data Plane​

Choreo Identity & Access Management separates the place where you author identity configuration from the place where your users authenticate.

Control planeData plane
What it isWhere you author configuration in the ConsoleWhere your users sign in
What happens thereApplications, connections, flows, roles, resource servers, and branding are created and changedTokens are issued, users sign in and register, and flows run
Live sign-in trafficNoneAll of it
How manyOne for your organizationOne for each environment, such as development, staging, and production

Deploying is the step that carries configuration from the control plane to a data plane. That separation is deliberate:

  • A half-finished change never reaches your users. You can build a flow or change an application over several saves while sign-in keeps running on the configuration it already holds.
  • You test before production. Deploy a change to your first environment, check it, then promote the same version to the next environment, one at a time. Production runs only what you promoted.
  • Environments stay consistent. Every environment receives the same captured version, so a difference between environments is a deliberate one, not drift from edits made in one place.
  • You can step back. Choreo Identity & Access Management captures the configuration as numbered versions, and you can undo the last deploy on an environment.
  • Authoring cannot take down sign-in. The control plane serves no live authentication traffic, so a mistake or an overload there does not affect the people signing in.

What Deploying Does​

Choreo Identity & Access Management captures your configuration as a version each time it changes. In the Console, select your project in the project switcher in the header and go to Deployment pipeline to:

  1. Pick the version to deploy. The latest version is kept up to date as you make changes.
  2. Review what it will change on the environment: what is added, changed, and removed. Removing resources asks you to confirm.
  3. Deploy it to your first environment.
  4. Promote it to the next environment when you are ready. A deploy enters at the first environment and moves forward one stage at a time.

When the first environment is behind your saved changes, a banner at the top of the Console says so and offers Deploy to that environment, for example Deploy to Development.

An environment holds exactly the version you last deployed to it. Resources you create or change afterwards do not appear there until you deploy again.

Variables and secrets, such as a redirect URI or a credential, belong to each environment. A resource refers to a value by name, such as var:APPLICATION_MY_APP_CLIENT_ID or sec:APPLICATION_MY_APP_CLIENT_SECRET, and each environment supplies its own value, so a staging value never reaches production.

Control Plane and Data Plane URLs​

The two planes have different URLs, and a call goes to the one that serves it.

CallGoes toExamples
Management APIs that author configurationThe control plane URLCreating applications, flows, roles, and resource servers
Runtime endpoints that serve your usersThe data plane URL of the environment/oauth2/token, /oauth2/authorize, /oauth2/jwks, /.well-known/openid-configuration, flow execution, and the baseUrl of an SDK

Each environment has its own data plane, so each has its own data plane URL. Code samples in this documentation show it as https://<DATA_PLANE_URL>. Replace it with the URL of the environment your application signs users in against. Find it on the environment's Endpoints page. See Environment Pages.

An application you point at staging uses staging's data plane URL, and the same application in production uses production's. Tokens carry the issuer of the data plane that issued them, so validate them against that environment's issuer and keys.

Auto-Deploy Is Your Choice​

Auto deploy deploys saved changes to your first environment for you, within seconds, so you do not have to open Deployment pipeline after every save. Turning it on is your decision. Use the Auto deploy switch on the Deployment pipeline page.

Auto deployWhat happens when you save a change
OnThe change deploys to the first environment within seconds.
OffThe change waits until you deploy it from Deployment pipeline.

With auto deploy on, promoting a version to the next environment is still a deliberate step. Auto deploy controls how fast a change reaches your first environment, not when production changes.

A project can follow the organization default or set its own value. Use auto deploy in a project where fast feedback matters, such as one you are building. Leave it off where you want each change reviewed before anyone can use it.

Was this page helpful?