User and operator guide · Operations

Configure The Profile Schema

Status: currentReviewed: 2026-07-08Audience: operators, identity administrators
On this pageHow Schema Enforcement WorksOptionsTest A Pattern Before SavingGuardrailsVerify

Use this workflow to decide which fields every identity profile must carry and which attribute names Atlas rejects as secret-bearing. The schema is enforced on every profile create and update — user intake, admin edits, imports, and directory writes all pass through it.

Open Configuration → Profile Schema. Viewing requires configuration.read; editing requires configuration.manage.

How Schema Enforcement Works

The stored schema is merged on top of a locked baseline that is always enforced:

Baseline Values

Required fields

id, username, email, status

Secret patterns

password, secret, token, privateKey, assertion, credential

Configuration can only add requirements — the baseline rows render locked in the editor and cannot be removed. A profile write missing a required field is rejected with the missing field named; a write carrying an attribute whose name contains any secret pattern (case-insensitive, ignoring separators) is rejected so credentials can never land in directory attributes.

Options

Option Effect

Additional required fields

Every profile create/update must carry a non-empty value for each listed field (matched against core fields and attributes, name-normalized). Example: adding organization makes organization mandatory at intake.

Additional secret patterns

Attribute names containing any listed substring are rejected on write. Example: adding apikey rejects serviceApiKey.

Default schema id

The schema identifier stamped on profiles and reported by directory tooling.

Standard fields / Mission fields

Advisory catalogs surfaced to directory tooling and attribute pickers; they do not enforce anything by themselves.

Test A Pattern Before Saving

The Pattern tester answers "would this attribute name be rejected?" against your current draft — type a candidate name (for example userPassword) and read the Rejected/Accepted badge, including which pattern matched. Use it before saving whenever you add a pattern.

Guardrails

  • A secret pattern that matches a required field (for example the pattern email) is refused with secret_pattern_blocks_required_field — it would make every profile write fail.

  • An empty default schema id is refused.

  • Changes apply to the next profile write within seconds; existing stored profiles are not retroactively modified.

Verify

  1. Add a required field (for example organization) and save.

  2. Create a user without an organization. Expected: the write is rejected naming the missing field.

  3. Add the organization and retry. Expected: the write succeeds.