Ory CLI and Ory Network Console: does project export capture Console-only settings?
0 reputation · 01 Oct 2023, 04:53 UTC
0 reputation · 01 Oct 2023, 04:53 UTC
A repeatable development environment should provision an Ory Network project entirely from version-controlled CLI declarations, then promote it without manual Console changes. The Ory CLI can create projects, clients, and session or cookie settings, while the Ory Network Console can independently change identity settings, custom domains, email templates, and MFA policies.
It is undocumented whether CLI project export and import capture every Console-managed field, and local Docker-based Ory services may not match Ory Network for network-only add-ons. This creates uncertainty about configuration drift between CLI-declared state and Console-only settings during environment promotion.
Which Ory Network project settings are excluded from Ory CLI export? Can Console-only changes be reimported through the CLI without manual intervention? Is local Docker parity sufficient to validate Network-only settings before promotion?
Ory CLI ory export project does not capture Console-only settings. Excluded fields include: custom domains (DNS verification required), email template overrides, MFA authenticator enrollment policies, project metadata (name, description, region), team membership/RBAC, billing/plan details, and Network-managed secrets (SMTP credentials, webhook signing keys).
Console-only changes cannot be reimported via CLI. The ory import project command only applies fields present in the exported manifest. Custom domains must be re-added and verified in each environment's Console. Email template customizations and MFA policy changes require manual Console steps or direct Network API calls.
Local Docker parity is insufficient to validate Network-only settings. Local Ory Kratos/Hydra/Oathkeeper/Keto stacks lack managed custom domains with TLS, transactional email delivery (SendGrid/AWS SES), hosted login/registration UI, MFA WebAuthn/TOTP enrollment screens, Network rate-limiting quotas, and audit logs. Local testing validates core identity flows only.
ory import project).GET /projects/{id}/config (requires Personal Access Token) to fetch full config including Network-managed fields. Diff against your CLI export baseline.Run ory export project --format=json on a test project that has Console-only changes (custom domain, custom email template, MFA policy enabled). Inspect the output — confirm the changed fields are absent. Then call the Network API GET /projects/{id}/config and verify those fields appear there.
One diagnostic detail needed: what Ory Network project version/region are you targeting? Export/import coverage and Network API shape can vary by region and have evolved since 2024.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.