Zitadel SAML SSO for AWS IAM Identity Center

Use Zitadel as the external SAML identity provider for AWS sign-in, with metadata exchanged between Zitadel and IAM Identity Center and provisioning kept in step.

On this page

How to set Zitadel SAML SSO for AWS IAM Identity Center

This section is for a team that wants AWS console and CLI access governed by its own Zitadel identities. Zitadel is configured as an external SAML identity provider for AWS IAM Identity Center by creating a SAML application in a Zitadel project and exchanging metadata files between the two systems, as the Zitadel AWS guide documents. Zitadel signs users in, and IAM Identity Center trusts the assertions Zitadel issues, so AWS account access follows the sign-in decisions made in Zitadel. The integration covers authentication and the attributes AWS needs to match a user to an identity, plus the permission sets assigned to those identities in IAM Identity Center. It does not move Zitadel's roles or project grants into AWS, and it does not decide which AWS accounts each group may reach.

Provisioning is a separate decision. A SAML trust answers the question of who can sign in, but it does not by itself create, update or remove the matching users and groups in IAM Identity Center. Before the build starts, decide whether those users will be created in IAM Identity Center by hand, by an automated sync, or through SCIM from Zitadel, and who owns that process. Each choice changes how a departing employee is removed and how quickly group changes reach AWS. Confirm with the Zitadel documentation which provisioning path it supports for your Zitadel version and plan, and confirm the IAM Identity Center features in your AWS Region before you commit to a design.

What you need before connecting Zitadel to AWS

Connecting Zitadel to AWS IAM Identity Center touches four areas: the Zitadel deployment, the network path between Zitadel and AWS, the AWS management account, and the Zitadel objects that will hold the SAML application. Settle each one before you exchange metadata, because changing a domain or organization later means reissuing the trust configuration on both sides.

Self-hosted Zitadel and PostgreSQL versions

Confirm which Zitadel release line you will run and check the current release notes before you start, since the latest supported line changes over time. Zitadel stores its data in PostgreSQL, and the supported database versions for self-hosting are 14 through 18, so pin a version in that range and confirm it against the vendor's database page. Record both versions in your change ticket so the AWS configuration can be traced back to a known deployment.

Supported PostgreSQL versions
14 to 18
Database docs

Public HTTPS domain and certificates

Zitadel must be reachable at a stable, public HTTPS domain, because the SAML metadata it publishes and the assertion endpoints AWS calls all embed that hostname. Decide the domain before you start and do not plan to change it, since a later change invalidates the metadata exchanged with AWS. Confirm that the TLS certificate is valid, trusted by AWS, and covered by your renewal process.

AWS management account with IAM Identity Center

IAM Identity Center configuration is made from the AWS organization's management account, so identify who holds that access and confirm that IAM Identity Center is enabled there. Check which AWS Region hosts the instance, since that is where the SAML settings will be made. Ask your AWS administrators whether an existing identity source is already in use, because switching the identity source affects every assigned account and permission set.

Zitadel project and organization

Plan the Zitadel organization that will hold the AWS user population, and create a project inside it to group the SAML application, roles and grants. Keep the AWS application separate from unrelated applications so that its roles and access can be reviewed on their own. Confirm which users will be in scope, since only users in this organization can sign in to AWS through this application.

Attributes and user identifiers

Decide which Zitadel user attribute will serve as the AWS username and which attributes will map to names and email addresses before you configure the assertion. Use values that are unique and stable across the organization, because AWS matches sessions to users by these values. Verify that every user who needs AWS access has these attributes populated, and that the values match the user identifiers you plan to provision.

Change window and rollback plan

Confirm with the vendor and your own change board the current release guidance and any upgrade notes that affect the SAML feature before the first sign-in test. Plan a test user, a break-glass path that does not depend on Zitadel, and a rollback step that reverts the identity source in AWS. Check that your team can make these changes during an agreed window rather than during a live access incident.

Configuration sequence for the Zitadel and AWS SAML trust

This sequence builds a two-way SAML trust between a Zitadel SAML application and AWS IAM Identity Center, so workforce users sign in to AWS through Zitadel. Each step ends with a check that tells you whether the next step can safely start.

  1. Create the SAML application in a Zitadel project

    In the Zitadel console, create or choose the project that will hold the AWS sign-in application, then add a SAML application to it. The identity administrator sets the application name and the service provider settings that AWS will expect, and confirms that the users who should reach AWS are granted access to the project. The step is done when the application appears in the project with its SAML configuration saved and the intended users or roles are granted access. Follow the Zitadel AWS SSO guide as the primary procedure for the exact fields.

  2. Download Zitadel's SAML metadata file

    From the saved SAML application in Zitadel, download the identity provider metadata file. This file carries Zitadel's entity ID, signing certificate and single sign-on endpoint, which AWS needs to trust assertions from Zitadel. Store the file in a location your change record can reference, and note which Zitadel organization and instance it came from. The step is done when the metadata file is saved and you have confirmed its entity ID matches the Zitadel URL of the environment you intend to use.

  3. Add Zitadel as the external identity provider in IAM Identity Center

    In the AWS IAM Identity Center console, change the identity source to external identity provider and upload the Zitadel metadata file. AWS shows a service provider metadata file and the assertion consumer and issuer values that Zitadel must trust. Record the AWS metadata file as the output of this step. The step is done when IAM Identity Center accepts the uploaded Zitadel metadata and has generated its own service provider metadata for the next step.

  4. Upload AWS metadata back to Zitadel

    Download the service provider metadata that IAM Identity Center generated and upload it to the Zitadel SAML application, completing the trust in the other direction. The identity administrator should check that the AWS assertion consumer URL and entity ID stored in Zitadel match the values AWS displayed. The step is done when Zitadel saves the AWS configuration without errors and both files have been exchanged and recorded.

  5. Align attribute mapping and the user name

    Confirm that the attributes Zitadel sends in the SAML assertion, especially the value AWS uses to match a user, line up with the IAM Identity Center user name attribute. Mismatched usernames are a common cause of failed sign-ins and duplicate accounts. Document the chosen attribute so provisioning uses the same value later. The step is done when a sample user's attributes in Zitadel match the AWS attribute mapping you wrote down.

  6. Assign and sign in with a test user

    Create a small set of test users in Zitadel and in IAM Identity Center, using the same user name, then assign one of them to the AWS account and permission set that will be used for testing. Ask the test user to start sign-in from the AWS access portal and confirm they reach Zitadel, authenticate, and land in the AWS console. The step is done when the test user signs in successfully and no permission set has been assigned to users beyond the test group.

  7. Assign permission sets after the test sign-in passes

    Once a test user has signed in end to end, assign AWS permission sets to the groups or users that need them, starting with the least privileged set. Record which Zitadel roles or groups map to which permission sets so access reviews can trace each grant. The step is done when permission sets are assigned to the intended groups, a second test sign-in with a non-administrative user succeeds, and the mapping is written into your access documentation.

How the SAML login flow moves between Zitadel and AWS

Trust between Zitadel and AWS IAM Identity Center is established by the metadata exchange, and the sign-in flow depends on that trust holding. A user starts at the AWS access portal, not at Zitadel. IAM Identity Center, acting as the service provider, builds a SAML authentication request and redirects the browser to Zitadel, which acts as the identity provider. Zitadel checks whether the user already has a session, prompts for login if not, and applies whatever policy the organization has set for the SAML application, such as passkeys or password fallback. When authentication succeeds, Zitadel returns a signed SAML response containing an assertion about the user to the AWS assertion consumer endpoint, and IAM Identity Center matches the assertion's subject and attributes to a user in its own directory.

The metadata exchange is what makes that signed response acceptable to AWS. Zitadel's metadata file carries its entity ID, its single sign-on endpoint and the signing certificate that AWS uses to verify assertions. The AWS metadata carries the ACS URL and entity ID that Zitadel must trust and send responses to. If either side's entity ID, endpoint or signing certificate changes, the other side keeps trusting the old values and sign-in fails, often without a clear error to the user. Certificate rotation on the Zitadel side and any change to the public domain that serves Zitadel are the two events most likely to require re-exchanging metadata. Confirm in the AWS and Zitadel documentation which settings AWS re-reads automatically and which need a manual update, and add the metadata re-exchange to your certificate and domain change procedures.

Sign-in and provisioning flow between Zitadel and IAM Identity Center

The flow starts with a user opening the AWS access portal, which redirects sign-in to IAM Identity Center configured as a SAML service provider with Zitadel as the external identity provider. Zitadel authenticates the user, then returns a signed SAML assertion that Identity Center maps to a user in its own directory. The trust boundary sits between the two identity systems, where the metadata files were exchanged during setup. Check that the attributes in the assertion match the names Identity Center expects, and that provisioning changes in Zitadel reach Identity Center before access is removed.

Sign-in path from the AWS access portal through Zitadel and back, with the trust boundary marked.

Mapping Zitadel user attributes to IAM Identity Center

This table compares each identity value Zitadel sends in the SAML assertion with the IAM Identity Center field it must match. Read it as a pre-test checklist: confirm each Zitadel attribute name and the username format against the current Zitadel AWS SSO guide and your own directory before you run the first sign-in. The main takeaway is that a mismatch in the subject or username field is the most likely cause of failed or duplicated accounts.

Attribute or fieldWhat Zitadel sends or what to confirmWhat IAM Identity Center expects
SAML subject (NameID)Confirm which user value Zitadel places in the subject and its format in the guideMust match the username attribute IAM Identity Center uses to match the user
UsernameTypically the Zitadel login name; confirm whether it includes an organization or domain suffixIdentity Center username must be unique and must equal the value used at sign-in
Email addressUser's verified email attribute; confirm the attribute name in the assertionMapped to the Identity Center email attribute; used for matching when the username differs
Given name and family nameUser profile first and last name attributes; confirm names and whether they are optionalMapped to Identity Center name attributes; a gap here usually affects display, not sign-in
Group or role attributesOnly if you configure them in the Zitadel application; confirm the attribute name and valuesMapped to Identity Center groups for permission sets; without them, assignments must be made manually
Provisioning key (SCIM or manual)Zitadel user ID or username used for provisioning; confirm which one your setup keeps stableIdentity Center must use the same key so later provisioning updates the existing user, not a new one

Keeping user provisioning in step with SAML sign-in

SAML handles authentication only. When a user signs in to AWS through Zitadel, the SAML assertion tells IAM Identity Center who the user is, but it does not create that user in IAM Identity Center, update their attributes, or remove them when they leave. Every user who signs in through Zitadel must already exist in IAM Identity Center with a username that matches the Zitadel login, and every permission set assignment must already exist for that user or group. If you treat SAML as the whole identity lifecycle, you will end up with accounts that still have access after the person has left, or legitimate users who cannot sign in because nobody created their account. Decide the provisioning path before you configure the federation, not after the first login failure.

There are two planning paths. The first is manual: an administrator creates users and groups in IAM Identity Center and makes sure each username matches the Zitadel identity exactly. This is workable for a small, stable team, but every joiner, mover and leaver becomes a manual task with its own audit trail. The second is automated provisioning through SCIM 2.0, the standardized user provisioning interface that Zitadel provides as a service provider interface. Whether IAM Identity Center can receive SCIM updates from Zitadel in the way you need is a question to confirm in the AWS guide and current AWS documentation before you commit, because the answer decides whether SCIM or manual creation is the design you build around. Also confirm how group membership is carried across, since a group that is removed in Zitadel but still assigned in AWS keeps its access.

Whichever path you choose, write down an owner and a check for three things: who creates each account, how group assignments change when roles change, and how a deprovisioning event reaches AWS. Test the leaver case explicitly. Disable a test user in Zitadel, confirm the AWS session and permission set assignment behave as your policy requires, and record the result as evidence for your access review. Your security or compliance team will ask how access is removed, so the answer should point to a specific process, not to the identity provider alone.

Security settings for a Zitadel to AWS SAML trust

The SAML trust between Zitadel and AWS IAM Identity Center is only as strong as the administrators, certificates and logs around it. The cards below cover the controls to set and verify on both sides before users sign in with it.

Protect the SAML application and certificate

Treat the SAML application in the Zitadel project and its signing certificate as production credentials. Confirm which metadata file AWS holds, when it was downloaded, and that the signing certificate is the one Zitadel currently publishes. Record a schedule for certificate rotation and a step that re-exchanges metadata in AWS after every rotation, so sign-in does not break silently or accept an outdated key.

AWS SSO guide

Restrict Zitadel project administrators

Limit who holds roles on the Zitadel project and organization that owns the SAML application. Only a small named group should be able to change redirect or assertion settings, the application's attribute mapping or its metadata. Review the membership of that group on a fixed cadence and confirm that routine users cannot edit the application from the console.

Restrict the AWS identity source

In IAM Identity Center, changing the identity source or re-pointing it to a new Zitadel metadata file can move every assigned user to a different trust. Restrict the IAM Identity Center administrator role to a named group, separate from the people who manage permission sets. Confirm in the console who can change the identity source and whether that change is alerted on.

Limit permission sets by group

Assign AWS permission sets to groups, not individual users, and keep administrative permission sets off the groups that every employee joins. Map Zitadel roles or groups to AWS groups deliberately, so a Zitadel role change alone cannot grant production account access. Check each assignment against the accounts it reaches and document who approves changes.

Require passkeys or MFA for administrators

Require passkeys or a second factor for every account that can change the SAML application in Zitadel or the identity source in AWS. Passkeys based on FIDO2 and WebAuthn can be used with a password fallback, so confirm that the fallback is disabled or tightly controlled for administrator accounts. Test the enforcement with a non-admin and an admin account before relying on it.

Passkeys docs

Log sign-ins and admin changes on both sides

Enable audit trails for administrative changes in Zitadel and for sign-in and configuration events in AWS, then forward them to a store that your security team reviews. Create alerts for changes to the SAML application, certificate uploads, identity source changes and new permission set assignments. Verify each alert by making a harmless test change in a non-production tenant and confirming it appears.

Why the Zitadel AWS SAML login fails and how to fix it

This table lists the failures most often seen when Zitadel sign-in to AWS IAM Identity Center breaks, with the likely cause and the check to run for each. Work through the rows in order, because a metadata or domain problem can look like a user problem. Most failures are mismatches between the two systems rather than faults in either one.

SymptomLikely causeCheck to run
Sign-in fails with a signature or certificate errorThe Zitadel signing certificate or metadata was rotated or replaced, and AWS still trusts the old copyRe-download the Zitadel metadata file and confirm the certificate in AWS matches the current one before retrying
Redirect to Zitadel works but AWS rejects the responseThe entity ID, ACS URL or issuer in the SAML application does not match what AWS expects after a domain or instance changeCompare the entity ID and ACS URL in both systems character by character, including the trailing slash and the hostname
Login succeeds in Zitadel but AWS shows no matching userThe username or email claim sent by Zitadel differs from the username stored in IAM Identity CenterCompare the NameID value in a SAML trace with the username in the IAM Identity Center user list, and check case sensitivity
Users exist in Zitadel but cannot be found in IAM Identity CenterUsers were created in Zitadel only, and IAM Identity Center has no matching user because provisioning was never set up or has driftedConfirm which directory IAM Identity Center uses and whether each Zitadel user has a matching user entry there
Sign-in succeeds but the user gets no AWS account or roleGroup or user assignments to AWS accounts and permission sets were not created, or were removed when the user was recreatedCheck the account assignments for the user or group in IAM Identity Center and confirm the assignment is for the correct user object
Access was granted, then stopped after a user changeA user was renamed, re-created or moved between organizations in Zitadel, so the identifier no longer matches the one AWS storedCompare the stable identifier sent in the assertion with the one recorded for the user, and plan renames as a coordinated change
Sign-in works for some users and fails for othersUsers come from different Zitadel organizations or identity providers, and their attributes are not mapped the same wayTrace a failing and a working user side by side and compare the attribute statements in each assertion

Questions buyers ask about Zitadel and AWS SSO

What does it cost to set up Zitadel SAML SSO for AWS IAM Identity Center?

The cost is mostly the labor to configure and test the setup, plus the infrastructure that runs Zitadel if you self-host it. The work has three parts: the SAML application in a Zitadel project, the external identity provider configuration in AWS, and the attribute mapping and provisioning checks that keep users in step. Effort rises with the number of AWS accounts, permission sets, groups and the amount of existing identity data to reconcile. Ask any partner for a written scope that lists these parts, the environments covered and who performs testing. For Zitadel Cloud and Enterprise plan pricing, check the Zitadel pricing page. Self-hosting cost depends on your own servers, database, backups and staff time, which you should estimate with your infrastructure team.

What drives the effort for this integration?

Effort depends less on the SAML steps themselves and more on how your identity model is already organized. The main drivers are how many AWS accounts and permission sets you manage, whether Zitadel users map cleanly to the groups AWS will use, how many organizations or projects Zitadel must hold, and whether you need SCIM provisioning in addition to SAML sign-in. Existing change control, separate staging and production tenants, and the number of people who must approve test results also add time. A simple single-account setup with a small test group takes far less work than a multi-account landing zone with delegated administration. Confirm these factors in your environment before requesting a quote.

How long does a typical Zitadel and AWS SSO setup take?

No fixed duration applies to every environment, so treat any single number as a guess until your own environment is reviewed. Timing depends on access approvals, the state of your AWS organization, how quickly Zitadel administrators can make changes, and how many test rounds your security team requires. A useful first step is to list the AWS accounts, permission sets and test users in scope, then agree on a test plan that covers sign-in, attribute values and deprovisioning. Ask any partner to base their schedule on that list and to state the dependencies they expect from your team. The Zitadel AWS SSO guide shows the sequence the configuration follows.

What does our team need to provide before the work starts?

You need four things ready before configuration begins. First, administrator access to the Zitadel instance and the project where the SAML application will live, with rights to create applications and view signing settings. Second, access to the AWS management account with permission to enable IAM Identity Center, change its identity source and manage permission sets. Third, a dedicated test group in Zitadel with a few users whose attributes you know, so sign-in and mapping can be checked without touching production users. Fourth, a named owner on your side for approvals and for any change windows. Share these requirements in writing so they appear in the scope and are not discovered mid-project.

Can our internal team set this up without outside help?

Yes, a team with solid experience in SAML, AWS identity administration and Zitadel administration can complete this integration alone. The work is well documented, and the core steps are metadata exchange, attribute mapping and testing. The risk lies in the details: attribute names that do not match what AWS expects, a mismatch between Zitadel and AWS usernames, and provisioning that drifts from sign-in. Check whether your team has someone who has configured a SAML identity source in AWS before and whether they can test deprovisioning without disrupting users. If any of those skills are missing, a short external review of the design and test plan can reduce the risk without taking over the whole project.

When should we bring in outside help for this integration?

Bring in outside help when the identity design affects several teams, when you operate multiple AWS organizations, or when your security or compliance reviewers expect evidence of testing and change control. Help is also useful when the Zitadel instance is self-hosted and still being hardened, since sign-in changes can interact with that work. DeployOpen plans, implements, documents and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks, and prepares systems and evidence for compliance assessments, though it does not issue audit reports or certifications. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

What breaks most often when Zitadel and AWS IAM Identity Center are connected?

The most common problems are attribute mismatches, username format differences and provisioning that is not kept in step with sign-in. If the attribute AWS uses to identify a user does not match the value Zitadel sends, users fail to sign in or are created as duplicates. Metadata certificates that are rotated without updating AWS also cause sudden sign-in failures. Group membership is another frequent gap: users can sign in but receive no permission sets because group names do not line up. Test each of these with a dedicated group, record the expected attribute values, and confirm the behavior when a user is removed in Zitadel. The Zitadel AWS SSO guide describes the metadata exchange that these checks depend on.

Does the Zitadel license or hosting model change what this integration needs?

Zitadel moved its core, Console and hosted login from Apache 2.0 to the GNU Affero General Public License 3.0 with Zitadel v3.0 on 31 March 2025, while APIs, SDKs and documentation remain Apache 2.0. For this integration, the license matters mainly if you modify and offer Zitadel's core to others over a network, which your legal team should review. Hosting model matters more for operations: Zitadel Cloud, a self-hosted deployment, or an Enterprise agreement each carry different responsibilities for uptime, backups and support. Confirm with your legal and platform teams which model applies before the SAML application is built, since the metadata endpoints and administration paths depend on where Zitadel runs.

How DeployOpen scopes and delivers the Zitadel AWS integration

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure. DeployOpen is a Chainscore Labs company. For this integration, that means the work covers the Zitadel side (the SAML application in a Zitadel project, its metadata, and the attribute mapping) and the AWS side (the external identity provider configuration in IAM Identity Center, the metadata exchange, and the user provisioning path that keeps both systems aligned). DeployOpen is not an official partner, reseller or certified provider of Zitadel or Amazon Web Services, and this page does not claim otherwise.

Engagements are fixed-scope. Before work starts, the scope, deliverables and timeline are agreed in writing, and a quote follows from that written scope. For this integration, the scope document should name the Zitadel instance and organization that will act as the identity provider, the AWS accounts and IAM Identity Center instance in scope, the attributes that must reach AWS, the decision on how users are provisioned (manual, SCIM or another method), and who on the client side approves the metadata exchange and the test sign-ins. Ask the vendor to confirm which Zitadel version and PostgreSQL version your environment will run, since those affect the self-hosted deployment you are integrating against.

Ongoing support is handled through a separate retainer rather than folded into the original build. Retainers cover items such as certificate renewal planning, reviewing changes to the SAML application when Zitadel is upgraded, and checking that AWS-side attribute mappings still match what Zitadel sends. Ask for the retainer scope and response expectations in writing before signing the build agreement, so the handover at the end of the integration is clear about who owns each component.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.