By NHI Mgmt Group Editorial TeamPublished 2026-01-14Domain: Governance & RiskSource: WorkOS

TL;DR: PlanetScale’s move into Postgres support highlights a broader shift toward developer-friendly databases, but it also underscores how extensions, operational complexity, and fast-scaling AI workloads expand the secret and access risk surface, according to WorkOS’s interview with Sam Lambert. The security lesson is that convenience and flexibility do not remove governance debt; they redistribute it across identity, configuration, and lifecycle control.


At a glance

What this is: PlanetScale’s Postgres support reflects developer demand and operational pressure, while also exposing how extensions and scaling complexity widen the governance burden around secrets and access.

Why it matters: IAM, NHI, and platform teams need to treat database choice as an identity and control-plane decision, not just an infrastructure preference, because access patterns, extension trust, and lifecycle governance all shift with the workload.

By the numbers:

👉 Read WorkOS’s interview on PlanetScale’s Postgres strategy and AI-scale database growth


Context

PlanetScale’s interview is really about the governance gap that appears when database platforms become easier for developers but more complex for security teams to control. In practice, database adoption is never just about SQL or performance. It affects secrets handling, extension trust, access boundaries, and the operational assumptions that IAM and NHI programmes use to define ownership.

The article also points to a broader cloud reality: when workloads scale quickly, identity control has to keep pace with how databases are deployed, extended, and administered. That matters for service accounts, API keys, and operational access because the risk surface expands even when the database itself looks familiar.

For teams managing human IAM, NHI, and AI-era infrastructure together, the takeaway is simple. Database platforms are now part of the identity stack, because the people, services, and tools that touch them determine whether the environment remains governable.


Key questions

Q: How should teams govern Postgres extensions in production databases?

A: Treat Postgres extensions as privileged code that expands the trusted boundary of the database. Approve only a minimal set, require change control for new extensions, and restrict installation rights to operators with named accountability. The security question is not whether an extension is useful, but whether the team can still explain and review its access impact.

Q: Why do hosted databases still create identity and access risk?

A: Hosted databases reduce operational burden, but they do not remove the need to govern who can administer, automate, and modify them. Access still exists through service accounts, secrets, and operator roles, and those identities often outlive the original project need. Governance has to move with the managed service boundary.

Q: What do security teams get wrong about database scaling?

A: They often focus on performance and availability while underestimating how fast credentials, integrations, and administrative exceptions multiply. As workloads scale, entitlement drift usually grows faster than review processes. The right measure is not database size alone, but whether access can still be attributed, recertified, and retired cleanly.

Q: When should organisations re-evaluate database access controls for AI workloads?

A: Re-evaluate them whenever the workload begins ingesting data at a rate that changes how quickly access is provisioned and forgotten. AI clusters tend to increase integration count, automation depth, and secret volume at the same time. That is when static review cadences stop reflecting reality.


Technical breakdown

Postgres extensions and trusted execution boundaries

Postgres extensions expand database functionality by loading additional code into the database runtime, which is useful for analytics, search, and custom logic. The tradeoff is that every extension widens the trusted computing base and can introduce new supply chain and privilege risk. The article’s reference to a compromised Postgres provider shows why platform operators now curate approved extension sets rather than allow unrestricted installation. In identity terms, extension governance is a control boundary, not a feature flag. Practical implication: treat extension approval as part of privileged change control, not developer convenience.

Practical implication: restrict extension installation to an approved set and tie it to privileged change control.

Why hosted database platforms exist for operational identity control

MySQL and Postgres both depend on operational controls that are easy to underestimate until scale breaks them. PlanetScale’s model exists to hide replication, availability, and platform management complexity behind a hosted service. That changes the identity problem because the database is no longer just a data store. It becomes a managed environment where access, maintenance, and operational privileges must be explicitly bounded. For security teams, the lesson is that hosting does not remove control requirements. It shifts them into the provider boundary and the customer’s entitlement model. Practical implication: map every database administrator and service account to a clear ownership and review process.

Practical implication: map every database administrator and service account to a clear ownership and review process.

AI-scale data growth and the secret management pressure curve

The article’s AI workload discussion shows why database governance is now inseparable from secrets management. When a platform is ingesting massive data volumes and supporting fast-growing AI companies, access patterns become more dynamic, more distributed, and harder to review manually. Secrets for database access, automation, and integrations tend to multiply as teams chase throughput. That creates more places for credentials to persist beyond their intended use. The security issue is not just scale, but the rate at which operational trust expands. Practical implication: align database access review cadence with workload growth, not with static infrastructure assumptions.

Practical implication: align database access review cadence with workload growth, not with static infrastructure assumptions.


Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Database convenience now shifts the governance burden, it does not remove it. Hosted database platforms reduce operational friction, but they also centralise trust in extension curation, access administration, and managed control planes. That means identity teams inherit a broader boundary to govern, especially where service accounts and automation depend on persistent database entitlements. The practitioner conclusion is that platform simplicity must be matched with stricter ownership and access clarity.

Trusted extension sets are a control boundary, not a product feature. The article’s extension example shows how database flexibility becomes a security problem when code execution inside the database is treated as routine. This is a classic NHI pattern: extra functionality often arrives through elevated trust rather than least privilege. The practitioner conclusion is that extension approval should be governed like privileged software change.

AI workload growth turns database access into a lifecycle problem. When clusters absorb 25 terabytes of data per week, access patterns and secret sprawl accelerate faster than manual review cycles. That creates a governance gap between how fast teams provision access and how slowly they certify it. The practitioner conclusion is that database entitlements need lifecycle discipline, not just perimeter controls.

Identity blast radius is now defined by workload velocity. The more quickly databases scale, the faster secrets, service accounts, and administrative access accumulate around them. This is where IAM, NHI governance, and platform engineering intersect: the blast radius comes from who can operate the database, not just from where the data sits. The practitioner conclusion is to treat workload growth as an access-risk multiplier.

Platform pricing also reveals governance behaviour. The move to a $5 tier reflects how engineers optimise around cost and convenience, which often translates into faster adoption of lower-friction environments and more distributed access patterns. That does not create a breach by itself, but it does change the governance profile by encouraging more instances, more credentials, and more lifecycle variation. The practitioner conclusion is to assume access will proliferate when friction falls.

From our research:

  • AI companies are adding 25 terabytes of data per week per cluster, according to The State of Secrets in AppSec.
  • Only 44% of developers are reported to follow security best practices for secrets management, exposing a significant developer behaviour gap.
  • Top 10 NHI Issues is a useful next step for teams mapping database access, secrets, and lifecycle governance together.

What this signals

Identity blast radius: As database platforms get easier to adopt, the practical blast radius shifts from infrastructure ownership to entitlement sprawl. Teams that still review access on a static cadence will miss the speed at which database secrets, operator roles, and automation accounts accumulate around fast-growing workloads.

With 43% of security professionals already concerned about AI systems learning and reproducing sensitive information patterns from codebases, the governance question is expanding beyond the database itself. The organisation has to decide which secrets, service identities, and operational accounts can safely participate in AI-adjacent data flows without creating durable exposure.

The next control failure is likely to be administrative, not technical. Database teams that cannot prove who approved extensions, who owns each access path, and when credentials were last recertified will struggle to contain risk even when the underlying platform is stable.


For practitioners

  • Review database extension trust boundaries Inventory which Postgres extensions are allowed in production, who approves them, and whether any require elevated database privileges. Move approval into the same change-control path used for privileged code and limit installation rights to a small operator group.
  • Map database access to named owners Assign a clear business and technical owner to every database administrator account, service account, and automation credential. Require periodic recertification for each entitlement, especially where managed hosting hides operational complexity.
  • Track AI workload growth against secret sprawl As cluster data volume rises, review whether database credentials, integration tokens, and automation secrets are multiplying faster than the team can review them. Reconcile access inventories against workload growth so entitlement drift does not outpace governance.
  • Separate convenience tiers from production governance If teams use lower-cost single-node or developer-friendly database tiers, define which identity controls still apply before the workload is promoted or connected to sensitive data. The goal is to prevent temporary convenience from becoming permanent access debt.

Key takeaways

  • Database platform choice now shapes identity governance, because access, extensions, and automation all expand the trust boundary.
  • AI-scale data growth accelerates credential sprawl faster than manual review cycles can keep up.
  • Security teams should govern database extensions, owners, and lifecycle controls with the same discipline they apply to privileged identity.

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 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-03Database credentials and extensions expand the non-human identity trust boundary.
NIST CSF 2.0PR.AC-4Access permissions and privilege review are central to governing database administrators and service accounts.
NIST Zero Trust (SP 800-207)AC-4Zero trust access boundaries help reduce implicit trust in hosted database control planes.

Limit database secrets and extension privileges to named owners and approved use cases.


Key terms

  • Trusted extension set: A trusted extension set is the approved collection of database extensions allowed to run in production. It narrows the amount of third-party code that can execute inside the database and reduces the chance that flexible functionality becomes an unreviewed privilege or supply chain risk.
  • Identity blast radius: Identity blast radius is the amount of damage possible when a service account, administrator role, or automation secret is misused. In database environments, it grows with every extra entitlement, integration, and hidden operational privilege attached to the platform.
  • Entitlement drift: Entitlement drift is the gradual gap between who or what has access and who or what actually needs it. In fast-growing database and AI environments, it appears when credentials and administrative exceptions accumulate faster than review and retirement processes can remove them.

Deepen your knowledge

Database access governance, secrets hygiene, and lifecycle control are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If your team is dealing with fast-scaling databases or AI workloads, it is worth exploring.

This post draws on content published by WorkOS: PlanetScale is riding the Postgres wave while still loving MySQL. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2026-01-14.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org