Skip to main content

Overview

Legacy Native Users are deprecated. They use identity links and a default flag. New Native Users replace these assignments with a Resource-level CEL expression.

Migrate to new Native Users

A new version of Native Users is available with typed credentials, hooks, and default Native User selection. This guide explains how to configure it.
New Native Users require Connector version 2.17.0 or later. Upgrade every Connector serving this Resource before opting in.
1

Preview and create new Native Users

Click the Preview button to add new Native Users. Previewed changes are saved, but Connectors continue using legacy credentials. Formal does not copy legacy secrets into the replacements.Create one replacement for each legacy Native User:For an ENV:<NAME> secret, choose Environment Variable and enter <NAME>. Do not include the ENV: prefix.
New Native Users use labels for explicit Native User selection, rather than usernames. If you rely on a specific username for selection, match the new label to the legacy username.
2

Replace identity links with a default selection

Legacy identity links do not migrate automatically. Recreate their behavior in Default Native User with CEL.Place specific User rules before Group rules, then return the legacy default:
See select a default Native User for supported identity fields and more examples.
3

Review policies

New Native Users expose their label through input.native_user. Preserve legacy usernames as labels to keep these comparisons stable.Update policies that inspect input.native_user_assignment. New Native Users return cel or user-requested instead of legacy assignment values.
4

Activate and verify

Click Opt in, enter confirm, and complete these checks:
  1. Connect without a label and confirm the expected default selection.
  2. Connect as an identity with a User or Group rule.
  3. Connect with @<label> if clients request Native Users explicitly.
  4. Confirm the upstream identity and policy result in session logs.
Legacy Native Users remain stored after activation, if a rollback is needed.
5

Roll back if needed

To roll back, click Roll back and enter confirm. The Resource resumes using its stored legacy configuration.New Native Users and their selection remain stored. Fix the configuration, then opt in again.