Choosing midPoint password storage: encrypted, hashed or none

Decide how midPoint stores user passwords by weighing synchronization needs against hashing trade-offs, and plan the account activation changes that arrive in 4.11.

On this page

Choosing midPoint password storage starts with what must sync

The first decision is whether midPoint should store user passwords at all. Evolveum's security guide lists three options: storing encrypted passwords, storing hashed passwords, or storing no passwords. The right choice follows from one question: which target systems need the password itself, in plaintext or in a reversible form, to authenticate users? If a target system only verifies a credential that midPoint never sees, such as a federated sign-on or a directory that accepts its own hashed value, midPoint has little reason to hold a copy. If a target system requires midPoint to push a password it can read, encryption is the only option that works, and that choice carries a larger exposure if the keystore is compromised.

Inventory each connector before you pick a storage mode. For every target such as LDAP, Active Directory, Microsoft Entra ID or a database table, confirm with the system owner whether it accepts a hashed value, requires a clear value, or delegates authentication entirely. Record the answer next to the resource definition, because the storage mode you pick will shape what the connector can send. Also confirm the mode with your own test environment rather than relying on assumptions about a target's behavior.

The choice also changes how users get their first credential and recover access. The midPoint 4.11 release notes state that account activation with a one-time link is mainly used when password hashing is enabled, so a hashed design implies a different onboarding and reset flow from an encrypted one. Map the activation, self-service reset and helpdesk paths before you commit, and confirm the exact 4.11 behavior against the release notes and your own test instance.

Password storage options and when each fits

This table compares encrypted storage, hashed storage and no password storage across synchronization to target systems, exposure if the repository leaks, the activation flow and day-to-day operational burden. Read each row as a question to answer for your environment, and confirm every behavior against the Evolveum security guide for the midPoint version you deploy, since storage behavior and activation options have changed between releases.

FactorEncrypted storageHashed storage
Synchronization to target systemsPasswords can be decrypted and pushed to targets that need the clear value, such as some directory or application connectorsOne-way only, so the clear password cannot be sent to a target; confirm which target connectors need it
Exposure if the repository leaksEncrypted values are recoverable by anyone holding the keystore, so protecting the keystore becomes criticalStolen hashes must be attacked offline; strength depends on the hash function and its settings
Activation flowInitial passwords can be set directly; confirm the flow used by your deployed versionOne-time activation links are mainly used when hashing is enabled in 4.11; plan the user journey around them
Key management burdenRequires keystore backup, access control and a rotation procedure that also re-encrypts stored objectsLower key dependency, but hashing settings and any migration of existing values need a planned change
Operational effortOngoing care of keys and the encryption process during recovery or migrationUpfront design of activation, reset and notification flows, then routine checks after upgrades
Option to store no passwordsNo repository copy, so credentials are managed by the target or an external identity providerConfirm how authentication for midPoint itself is handled when no password is held

Which synchronization needs drive the decision

Before weighing hashing trade-offs, list every system that will receive or check a password from midPoint. The set of targets that need a usable password value, and the ones that authenticate elsewhere, narrows the storage options before any security trade-off is discussed.

Targets that need a password value

Some target systems can only be provisioned with a password that midPoint sends in clear form, for example directory or database accounts that accept a value through a connector. If any target needs the plaintext value at provisioning time, midPoint must hold it in a form it can decrypt, which rules out pure hashing. Ask each target owner exactly which attribute format it accepts and whether it stores a hash of its own.

Connector docs

Targets that authenticate on their own

Many systems keep their own credential store and only need an account created, with the user setting the password through the target or a reset flow. For these, midPoint does not need to keep any password value after the account exists. Confirm whether the target supports a password-set-on-first-login or activation-link pattern, since that determines whether midPoint must retain a value at all.

SSO where midPoint is not the login authority

When users sign in through a separate identity provider, midPoint is not the place where login succeeds or fails. Evolveum states that midPoint does not implement the server side of OAuth2, OpenID Connect or SAML, so its own console can use external SSO while the directory or SSO provider keeps the credential. Document which systems accept passwords from midPoint and which ones only trust the SSO provider.

Evolveum FAQ

Targets that trust the stored value

Some integrations compare a password against a value midPoint supplies or verifies, so changing the storage method can break them. Map which downstream systems read, compare or reset credentials and who owns each one. A target that requires exact matching of a stored value is a stronger constraint than one that simply accepts a new password.

Activation and reset workflows

The choice also determines how new users receive their first credential. Where passwords are hashed, activation by one-time link is the mainly supported pattern in the 4.11 release, so a target that depends on midPoint sending a password by other means needs a separate design. Check which joiner flows and self-service resets each target can support before fixing the storage method.

4.11 release notes

Confirm the target inventory first

Build a written table with one row per target: whether it needs a value, whether it stores its own hash, whether login happens outside midPoint, and who owns the change. Review it with the application owners before any configuration work. Illustrative example: a directory that accepts only a plaintext value during account creation narrows the options more than a web application that accepts a one-time setup link.

What hashing gives up when targets need the password

A hashed password cannot be sent to a target system that needs the cleartext value. Hashing and synchronization pull in opposite directions. Once midPoint stores only a one-way hash, it has nothing it can push to a connected system, so any target that authenticates users against its own password store has to be fed the password some other way. If your design depends on midPoint provisioning the same password to Active Directory, LDAP directories, databases or SaaS applications, hashing removes the value that the connector needs. Before you choose hashing, list every target and confirm for each one whether its connector can accept only a set value, which is the case where a new password is written without midPoint ever knowing the old one, or whether it requires the cleartext password on every change.

The consequences show up in two places. In reconciliation, midPoint can compare account attributes against what it expects, but it cannot verify that a target's password matches a stored value, so drift in passwords goes undetected unless you design a separate check. For password resets on connected systems, a hashed model usually means midPoint sets a new value on the target rather than copying one, and users may need an account activation link to choose their own password. The 4.11 release notes tie that one-time link mainly to deployments where hashing is enabled, so the activation flow and its notifications become part of the design, not an afterthought. Confirm how each target handles a set-only write, what it reports back on failure, and whether a failed reset leaves the two systems out of step.

Write the answer down as a decision record before configuration starts. Name each target, its connector, whether it accepts a set-only value or needs cleartext, and who owns the password reset flow for it. Ask the connector maintainer or your own test environment to confirm these behaviors, since the capabilities of each connector are not something to assume from its name. Where a target needs cleartext, the decision moves into encrypted storage and the key protection that comes with it, and the midPoint security guide is the natural next read for the trade-offs of each option.

Setting password storage in a midPoint deployment

This sequence turns the storage decision into a configured, tested and documented state for one midPoint deployment. It confirms which target systems need a usable password, applies the chosen option with the security team's sign-off, and leaves a record that auditors and future operators can follow.

  1. Inventory target systems and password needs

    List every target system and connector that receives or checks a password from midPoint, such as directories, databases, SaaS applications and any system that authenticates users through a password midPoint sets. For each one, record whether it needs the cleartext value to push to the target, whether it only needs a verifiable hash, or whether it never needs a password from midPoint at all. Owners of the identity team and the application owners should both sign off. The step is done when every system has a single recorded requirement, so no target is left with an unknown need.

  2. Choose the storage option with security

    Review the three options described in Evolveum's security guide: encrypted password storage, hashed password storage and no password storage. Compare each option against the inventory, including who can read stored values, how keys are protected and what happens when a target needs a value midPoint cannot supply. The security team should agree the choice in writing, including any exception for a specific target. Confirm with Evolveum or your own testing whether a chosen option constrains the connectors you plan to use. The step is done when a signed decision record names the option and its reasons.

  3. Configure the option from the security guide

    Apply the chosen option using the settings described in the midPoint security guide for the release you deploy. Exact configuration keys, defaults and value formats must be copied from the documentation for that release, not from older blog posts or this page. Where the option relies on the keystore, confirm that the encryption keys are in place and backed up before you change anything. Record the release version and the configuration file change in your change log. The step is done when the configuration is in version control and the running instance reports the expected setting after restart.

  4. Confirm account activation behavior for the release

    If you choose hashing, review how account activation works in the release you run. The 4.11 release notes state that account activation with a one-time link is mainly used when password hashing is enabled, so check whether your activation flow, notifications and self-service pages match that behavior. Confirm the expected flow with the release notes and your own test results rather than assumptions. The step is done when a written activation flow exists for each user population and the team agrees it fits the storage choice.

  5. Test a provisioning run in non-production

    In a non-production environment that mirrors production connectors and target versions, create test users, assign a resource that needs a password and run a provisioning cycle. Verify that the target receives or accepts the credential as the inventory requires, that no cleartext value appears in logs, exports or the user interface where it should not, and that the target-side login works. Repeat for any system that should not receive a password and confirm it does not. The step is done when each target's result matches the inventory and the evidence is saved with the test record.

  6. Test a password reset and activation

    Run a self-service or administrator password reset in the same non-production environment, then test account activation if your choice uses one-time links. Check that reset notifications, expiration of links, and the password policy behave as the configuration and release documentation describe. Attempt a reset with a weak or reused password to confirm policy enforcement, and confirm that a failed reset does not leave a half-updated account on any target. The step is done when every reset path passes and the results, including any defects, are recorded for the security team.

  7. Document the decision and its controls

    Write a short record that names the chosen option, the release version, the target systems and their requirements, the configuration location, the key backup and access arrangements, the activation flow and the test evidence. Store it with the security hardening documentation and set a review trigger for upgrades and new connectors. Ask the security team to confirm the record matches the production configuration before go-live. The step is done when the record is approved, linked from the change log and assigned an owner who will review it at each midPoint upgrade.

How account activation changes in midPoint 4.11

The 4.11 release notes tie account activation with a one-time link mainly to deployments where password hashing is enabled. If you choose hashed storage for your user passwords, plan onboarding around that activation flow rather than around an administrator setting a password and handing it over. Under encrypted storage, midPoint can recover a password value, so the activation design is a less central question, but you should still confirm which flow your chosen storage mode supports before you write onboarding procedures.

For onboarding, this changes who touches the first password. A new user receives a link, sets their own password, and the administrator never sees it. Your HR-driven joiner process should therefore create the account, trigger activation, and track whether the user completed it. Confirm with the 4.11 release notes how notifications are sent, which mail templates and SMTP settings the notification path needs, and whether any notification path would expose the link to someone other than the intended user. Test the full path in a staging environment with your real mail relay before the first production joiner batch.

Link expiry is a control decision, not a default to accept unchanged. A short lifetime limits exposure of an unused link but increases help-desk requests from users who open the email late. A longer lifetime does the opposite. Record the expiry behavior you observe in your build, document who can reissue an activation link and under what conditions, and make sure reissuing is logged. The 4.11 feature release is planned for 21 October 2026 according to the midPoint releases page, so treat that date as a planning marker and check the midPoint 4.11 release notes for exact activation behavior before you commit to a rollout date.

Security risks of each password storage choice

Each password storage option moves risk to a different place: the repository, the keys that protect it, the people who can change how values flow, and the logs that may capture them. The cards below are the checks to make before choosing, whichever option you pick.

Repository and backup exposure

Whatever midPoint stores in its PostgreSQL repository, and whatever your backups copy, inherits the protection level of that storage. With encrypted storage, a copy of the database is only useful to an attacker who also holds the decryption material. With hashed storage, an offline copy can be attacked without the live system. Confirm who can read database dumps, snapshots and replicas, and how long backups keep old password material.

Security guide

Key protection for encrypted values

With encrypted storage, the security of stored passwords depends on the keys midPoint uses to encrypt them. A database copy plus a copy of the key material is equivalent to plaintext. Check where the keys live, whether they are kept apart from the database and its backups, and who can read them. Losing the keys without a tested recovery path also means losing access to the stored values.

Keystore access and administrator reach

The keystore and the midPoint home directory are the places where encryption material sits on the server. Any administrator, service account or host user who can read them can usually decrypt what the repository holds. Review file permissions, host access and the list of people with shell or container access, and treat that list as part of the password design rather than a separate operations concern.

Password values in logs and traces

Debug logging, task traces and error reports can capture values that flow through synchronization, including passwords passed to connectors. Under any storage option, a log line that contains a clear password defeats the choice of storage. Set logging levels for the password-handling components explicitly, confirm what is written to the log files and any central log store, and test that a failed provisioning run does not leave values behind.

Mappings that touch passwords

A mapping or expression that copies, transforms or forwards a password can change where it ends up, whether that is a target system, a report or an audit field. Anyone who can edit such a mapping can redirect password values, so the set of editors matters as much as the storage option. The expression controls in the sibling topic on securing midPoint expressions and scripts define who may make these changes, and the risks here depend on that answer.

Git and configuration exposure

If midPoint configuration is kept in version control or exported for review, password-related objects, mappings and any embedded values may be copied into repositories with broader access than the production system. Check which exports include credential material, who can read the repository history, and whether deleted secrets remain in past commits. Confirm this with your own configuration management process before relying on it.

Questions teams ask about midPoint password storage

Should we hash or encrypt midPoint passwords?

Choose hashing when no target system needs midPoint to send the existing password value, and choose encryption when midPoint must replay a password to a connected system. Evolveum's security guide describes encrypted storage, hashed storage and no password storage as the three options, so the first decision is which target systems depend on a recoverable value. Hashing is one-way and protects stored credentials better against a repository leak, while encryption keeps a value recoverable at the cost of depending on the keystore. Confirm the target system requirements with each connector owner before you decide.

Can our own team make this decision without a partner?

Yes, if the decision rests on documented target system requirements and your security team signs off on the risk. The inputs are a list of every system that receives passwords from midPoint, whether each one accepts a hash or needs a plaintext-equivalent value, and your policy on keystore custody. Teams usually need outside help when several connectors have conflicting needs or when the change touches live provisioning. Evolveum's security guide is the primary reference for the option definitions.

What drives the effort to change password storage?

The main drivers are the number of connected systems, how many accounts already hold stored passwords, and whether those systems rely on midPoint replaying the value. Changing the storage mode affects new password operations first, so existing objects, mappings and connector configurations must be reviewed for each target. Effort also grows with testing across staging connectors and with the coordination needed for user activation flows. No effort figure is supplied here, so ask your implementation partner for a scope that lists each connector and each object type it touches.

How long does a password storage change take?

The duration depends on the same drivers as effort: connector count, data volume, test coverage and change windows in your environment. No duration is supplied for this change, so do not plan around a generic figure. Ask for a timeline in the written scope that separates decision work, staging validation, a rollout plan and post-change verification. Also plan for any midPoint upgrade needed to reach the release that carries your chosen activation behavior, because the 4.11 changes come with that version.

What should we provide before starting the work?

Provide an inventory of connected target systems and their password requirements, the current midPoint version and deployment layout, and the current keystore and backup arrangement. You should also provide the password policy your security team requires and the names of the people who approve changes to credentials handling. Access to a staging environment that mirrors production connectors makes validation far more reliable. Ask any partner to confirm in writing which of these inputs they need before the scope is final.

How do account activation links change in midPoint 4.11?

In 4.11, account activation with a one-time link is mainly used when password hashing is enabled, according to the midPoint 4.11 release notes. That means teams that choose hashing should expect activation to rely on a user-driven password set through the link rather than a value midPoint already holds. Teams that keep encrypted storage should verify how their current activation flow behaves before upgrading. Review the midPoint 4.11 release notes and test the flow in staging, since the 4.11 feature release is planned for 21 October 2026.

Do we lose anything by choosing no password storage?

Choosing no password storage means midPoint does not keep a password value, so connectors that need one must get it another way or the account must be set up without it. This suits environments where a federated identity provider or a separate authentication service handles sign-in. The trade-off is that provisioning flows depending on midPoint-set passwords need redesign and testing. Confirm with each target owner whether sign-in can come entirely from a central identity source before you rule out stored passwords.

How DeployOpen scopes password storage decisions

DeployOpen treats the password storage choice for midPoint as a scoped design decision, made with your synchronization targets, login flows and compliance reviewers in the room. We plan, build, test, document and hand over the result inside your own infrastructure.

How we scope

  • Inventory which target systems need a password value and which only need account existence or group membership.
  • Record the chosen storage mode, the systems it affects and the account activation flows that depend on it.
  • Agree the scope, deliverables and timeline in writing before any configuration work starts, since most engagements are fixed-scope.

How we build

  • Configure the selected password storage mode in a non-production midPoint environment that mirrors your production setup.
  • Test password propagation to each connected target, including failure and retry behavior, before enabling it in production.
  • Validate the one-time activation link flow against your 4.11 release if you choose password hashing, using your own identity sources.

How we hand over

  • Document the decision record, configuration keys, keystore dependencies and the reasoning behind each storage option.
  • Deliver a verification checklist your security and compliance teams can use to review the setup independently.
  • Walk your operations team through what to change if a target system later needs a different password format.

How we support

  • Support ongoing changes to password handling as target systems, connectors or midPoint releases change.
  • Offer continuous testing and upgrade support for midPoint under a retainer, if your team wants that coverage.
  • Confirm with your auditors which evidence they expect for password handling, since DeployOpen prepares evidence but does not issue audit opinions.

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.