By NHI Mgmt Group Editorial TeamBased on PassBolt: “Set Up Your Local Passbolt Development Environment in Minutes with DDEV” (July 23, 2025)

TL;DR: A DDEV-based setup can replace a multi-repository Docker Compose workflow with a preconfigured local environment that includes HTTPS, Xdebug, Mailpit, Adminer, and faster macOS and Windows performance, according to Passbolt. The operational gain is real, but identity and secrets handling still need deliberate separation between development convenience and production control.


At a glance

What this is: This is a PassBolt guide showing how DDEV streamlines local Passbolt API development by packaging setup, HTTPS, debugging and database tooling into one preconfigured environment.

Why it matters: It matters because development convenience can reduce friction for contributors without changing the underlying need to keep secrets, access and environment boundaries governed across the lifecycle.


Context

Local development environments become a governance issue when setup friction pushes teams to improvise around secrets, configuration and environment separation. In identity security terms, the question is not only how fast developers can get running, but whether the dev stack encourages credential handling habits that would be unacceptable in production.

This article is about a development workflow change, not a security control redesign. The operational gain is lower setup overhead for contributors, but the identity and secrets boundary still has to be treated as a policy problem, not a tooling convenience problem.


Key questions

Q: How should teams separate local development convenience from credential governance?

A: Teams should allow local tooling to speed up setup while keeping secrets, tokens and privileged configuration under explicit policy. The goal is to make development easier without normalising production-like access in environments that are meant for testing, debugging and contribution work.

Q: What problems does a preconfigured local environment solve for developer onboarding?

A: It removes repeated manual steps such as cloning multiple repositories, editing configuration files and coordinating Docker Compose fragments. That shortens onboarding time and reduces setup drift, which makes it easier for new contributors to reach a working baseline quickly.

Q: What are the signs that a local dev stack is too manual to sustain?

A: Frequent host-specific fixes, inconsistent configuration files, repeated troubleshooting and developer-specific workarounds are all signs that the environment has become brittle. Those symptoms usually mean the team is spending too much time maintaining the setup instead of using it.

Q: Why does faster local tooling not remove the need for production controls?

A: Because local tooling changes developer ergonomics, not the trust model. Even if HTTPS, debugging and database access are preconfigured, production still needs stronger boundaries, clearer accountability and tighter control over who can use which credentials where.


Technical breakdown

Preconfigured local environments reduce setup drift

DDEV packages the local development environment so contributors do not have to stitch together multiple repositories, manual .env edits and separate Docker Compose files. That matters because setup drift is often where local environments diverge from the team standard, especially when one group owns the application and another owns the container files. A preconfigured environment reduces the number of hidden assumptions a new contributor must discover before they can run the code. Practical implication: standardise the local stack so developers start from the same baseline instead of inheriting a bespoke setup path.

Practical implication: standardise the local stack so developers start from the same baseline instead of inheriting a bespoke setup path.

Developer tooling changes the feedback loop, not the trust model

HTTPS, Xdebug, Mailpit and Adminer change how quickly a developer can inspect requests, debug code and verify database state. These tools improve local observability, but they do not alter the trust model around credentials or the separation between local and production identities. A faster loop can even make it easier to normalise shortcuts if teams do not distinguish debugging convenience from real access governance. Practical implication: treat local tooling as an accelerator for development work, not as a substitute for access policy or secrets discipline.

Practical implication: treat local tooling as an accelerator for development work, not as a substitute for access policy or secrets discipline.

Mutagen improves performance on non-Linux hosts

The performance issue described here is not just raw compute, but file synchronisation overhead on macOS and Windows when Linux containers run on non-Linux systems. Mutagen reduces that overhead by improving the speed of file syncing between host and container, which lowers the friction that often makes local containerised development feel slow. This is an infrastructure quality problem, not an identity control. Practical implication: optimise file sync and local runtime performance where contributor productivity depends on container-heavy development workflows.

Practical implication: optimise file sync and local runtime performance where contributor productivity depends on container-heavy development workflows.


NHI Mgmt Group analysis

Local development convenience and credential governance solve different problems: DDEV removes setup friction, but it does not reduce the need to govern which credentials exist in development, how they are separated, or when they are safe to use. That distinction matters because a smooth local stack can encourage informal handling of secrets unless teams keep dev and production identity boundaries explicit. The practitioner lesson is to improve developer experience without allowing convenience to redefine control scope.

The developer experience gap is also a governance gap: When contributors must clone multiple repositories, edit configuration by hand and coordinate across teams, the environment itself becomes a source of inconsistency. That inconsistency tends to spread into how access, configuration and secrets are handled. The better pattern is to make local setup repeatable so the team can spend governance attention on what should differ, not on rebuilding the same environment by hand.

Environment parity should not be confused with identity parity: A preconfigured local stack can make development feel closer to production, but identical tooling does not mean identical trust. Local HTTPS, debugging tools and database access are useful, yet they do not imply the same credential controls, auditability or segregation that production workloads require. Practitioners should treat parity as a productivity goal, not as proof that governance can be relaxed.

Developer productivity gains are only durable when they reduce hidden exceptions: The value of this approach is not the container tooling itself, but the removal of one-off setup decisions that vary between developers. Replacing manual steps with a standard local path narrows the space where undocumented access handling and environment drift emerge. The practical conclusion is to use local platform simplification to make control expectations easier to follow, not easier to bypass.

From our research library:

  • Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap, according to the State of Secrets in AppSec.

What this signals

A preconfigured development environment is useful when it removes repetitive setup work, but it should be read as a productivity improvement rather than a security control. The real programme question is whether the team can make local development simpler while keeping access policy, environment separation and secrets handling explicit.

Development environment parity: making local tooling look like production can reduce friction, but the identity model must still distinguish convenience access from governed access. Practitioners should assume that easier onboarding will only stay safe if local shortcuts are documented and bounded.


For practitioners

  • Separate local convenience from governed access boundaries Define which credentials, tokens and configuration values are permitted in local development and which must never leave controlled environments. Keep that policy explicit so faster setup does not turn into weaker handling of sensitive access material.
  • Standardise the local development baseline Adopt one repeatable environment path for contributors so setup instructions, debug tooling and database access behave consistently across the team. That reduces environment drift and the need for manual exceptions.
  • Document what local HTTPS and debug tools do not change Make it clear that local HTTPS, Xdebug, Mailpit and Adminer improve developer workflow but do not replace production controls, audit expectations or secrets governance.
  • Review host performance assumptions on macOS and Windows If contributor productivity depends on Docker-heavy workflows, verify that file sync and container performance are not forcing people to avoid the standard path or invent workarounds.

Key takeaways

  • DDEV addresses the operational pain of local Passbolt setup by reducing setup steps and bundling common developer tools into one environment.
  • The article is about developer experience, not a change to credential governance, so access and secrets policy still need to be enforced separately.
  • Teams should use the simplification to standardise onboarding and reduce manual drift, not to blur the boundary between local convenience and production control.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-10 — Human Use of NHILocal dev convenience can blur boundaries between human handling and governed non-human credentials.
NHI-07 — Long-Lived SecretsThe article's credential-governance angle is about not normalising weak secret handling in development.
Recommendation — Define which NHI credentials developers may touch locally and which remain outside development workflows. Keep development secrets short-lived and separate them from any production credential lifecycle.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementDevelopment environments still need disciplined lifecycle control over authenticators and secrets.
Recommendation — Apply authenticator lifecycle controls to development credentials and revoke stale access promptly.

Key terms

  • Local Development Server: A local development server is a tool that serves application files from a developer machine for testing and previewing code changes. It is useful for fast iteration, but it can also expose source code, configuration files, and credentials if the server is reachable from a browser or is overly permissive.
  • Credential Governance: Credential governance is the discipline of controlling how secrets are issued, stored, rotated, revoked, and monitored across an environment. For NHIs, it also includes ownership and entitlement review, because a valid secret without governance becomes a standing path to misuse.
  • Environment Parity: Environment parity is the degree to which development, test, and production workflows behave in a consistent way. In practice, it reduces surprises caused by local-only shortcuts, especially around authentication, secrets handling, and service dependencies. The closer the parity, the less likely teams are to normalise unsafe behaviour in one environment.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on July 8, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org