Independent analysis by NHI Mgmt GroupSource article: C1.ai, “Your Sales Team Built an App. Where Did the API Key Go?” (November 20, 2026)

TL;DR: C1.ai explains builder teams are creating apps that start on local machines, spread through URLs, and carry plain-text API keys that are easy to copy and hard to retire. When sharing outpaces governance, credential expiry, access control, and activity tracking become the difference between collaboration and uncontrolled exposure.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on C1.ai's video: Business-built apps turn API keys into governed liabilities when sharing, expiry and retirement are not centrally controlled.

Why it matters: IAM, secrets and app governance teams need to treat low-code and business-built applications as credential-bearing systems with lifecycle, access and offboarding controls.

👉 Watch C1.ai's video on governing builder-era apps and API keys


Context

Builder-era application development creates an identity and secrets problem because the app often outlives the person who created it. Once a tool is shared by URL or copied into another workflow, the organisation needs a way to govern access, expiry and retirement rather than assuming the builder will keep control.

This is especially visible when sales and marketing teams create apps outside the central development path. Without secrets sprawl controls, plain-text credentials move with the app, and ownership becomes unclear the moment the tool is shared beyond its original creator.


Key questions

Q: How do businesses secure apps built by non-technical teams?

A: Businesses secure apps built by non-technical teams by treating them as identity-bearing systems, not informal side projects. That means controlling who can open them, limiting onward sharing, scoping the credentials they use, and retiring them when activity drops. The governance model has to cover access, secrets and lifecycle together.

Q: Why do plain-text API keys create such a large exposure window?

A: Plain-text API keys create a large exposure window because anyone who copies them can use the same credential immediately, often without detection. They should be stored in a secret manager, delivered to runtimes at execution time, and replaced with expiring credentials, scoped tokens, or certificate-based authentication so any leaked key has limited value.

Q: How should teams retire abandoned apps that still hold credentials?

A: Retire them by inventorying each app, identifying its owner, and revoking its credentials before decommissioning its integrations, service accounts, and API grants. Activity data should then confirm which tokens, keys, or certificates are still being used, so you can disable the abandoned app only after no legitimate calls remain.

Q: What is the difference between shared links and governed access?

A: Shared links are ad hoc access grants that let people reach a file or resource without being added to a governed entitlement model. Governed access is centrally assigned, reviewed, and revoked through identity controls such as RBAC, ABAC, or JIT access, so ownership, expiry, and auditability are explicit.


Technical breakdown

Why URL-based sharing breaks access governance

When an app is shared by URL, the link becomes a de facto access path unless the platform adds authentication and authorisation around it. That means the system must govern who can open it, what they can see inside it, how long access lasts, and whether onward sharing is allowed. Without those controls, the app behaves like an untracked distribution channel rather than a governed business asset.

Practical implication: Put every externally shareable app behind explicit identity controls, not just a distributed link.

How time-boxed API keys change the blast radius

Plain-text API keys are dangerous because they can be copied, forwarded and reused without any inherent expiry. Time-boxed credentials reduce that exposure by making the secret unusable after a defined window, which turns leakage from a persistent compromise into a short-lived event. The architectural point is not just rotation, but lifecycle-bound issuance that matches the app's actual use pattern. See the API Key Management Guide.

Practical implication: Issue credentials with built-in expiry and revoke them automatically when the app no longer needs them.

Why activity tracking is part of secrets governance

Builder-era sprawl creates dormant apps that still hold working credentials long after their business value has faded. Activity tracking gives security and platform teams the signal to distinguish active tools from abandoned ones, so retirement can be tied to actual usage rather than guesswork. In practice, this is the missing control that keeps shadow tools from becoming permanent secret containers. Read Guide to NHI Rotation Challenges.

Practical implication: Track app usage continuously so stale tools can be retired before their credentials become long-lived liabilities.


Threat narrative

Attacker objective: Obtain durable access to business apps and the data sources they connect to by exploiting unmanaged sharing and long-lived API keys.

  1. Entry occurs when business users create and share apps outside the central development and access model, often through URLs and local files rather than governed deployment paths.
  2. Credential exposure follows when API keys are stored in plain text or exchanged informally, making them easy to copy, text or reuse without expiry.
  3. Impact comes when those credentials remain valid long after the app is shared or abandoned, leaving the organisation exposed to unauthorised access and uncontrolled data use.
  • Hugging Face Spaces breach 2024: Unauthorised access to Hugging Face Spaces may have exposed secrets users stored for AI apps; tokens were revoked and org tokens removed.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Builder-era app sprawl is a secrets governance problem, not a tooling problem. The core failure is not that non-technical teams build apps, but that those apps are allowed to carry credentials and share links without lifecycle controls. Once the business can create and distribute applications faster than security can inventory them, the organisation needs governance primitives, not ad hoc approvals.

Plain-text API keys turn business collaboration into persistent credential risk. A copied key does not care whether the app was created by engineering, sales or marketing; it creates the same identity exposure once it leaves controlled storage. This is exactly why secrets handling must move from informal sharing habits to API key management with expiry, scope and revocation built in.

App retirement is part of secrets management, not a separate cleanup task. Dormant builder apps often still hold live access to downstream systems, which means abandonment becomes an access-control issue the moment usage drops. The operational lesson is simple: if the app is still trusted by credentials, it is still a live identity asset.

Governed sharing changes the meaning of collaboration. The problem is not sharing itself, but sharing without enforced limits on who can open the app, what they can do inside it and how long access lasts. The organisation can preserve speed only if the platform absorbs those controls instead of asking every business team to improvise them.

From our research library:

What this signals

Credential vending will matter more as business-built apps multiply. Once non-technical teams can generate and share apps quickly, the security question shifts from whether they can build to whether the platform can issue, expire and revoke access without friction. That is where governance moves from policy to runtime control.

The next maturity step is to treat app sharing, secret issuance and retirement as one lifecycle. If the platform cannot observe usage and enforce expiry, the organisation will keep discovering that collaboration has become another route to unmanaged credentials.


For practitioners

  • Inventory business-built apps with embedded secrets Identify applications created outside the main development team that still connect to operational systems or carry API keys, tokens or other credentials.
  • Replace shared plain-text keys with expiring credentials Move away from copyable secrets and issue time-boxed credentials that stop working automatically after the app's intended use window.
  • Gate app access with identity controls Require SSO and authorisation for any app shared across teams so access, duration and onward sharing are centrally enforced.
  • Retire dormant apps on a schedule Use activity tracking to identify apps that have been unused for days, months or years and remove their access before they become forgotten credential holders.

Key takeaways

  • Business-built apps become security assets the moment they carry credentials, because sharing and access then need explicit governance.
  • Plain-text API keys and URL-based sharing create a durable exposure pattern unless the platform enforces expiry and authorisation.
  • Activity-based retirement is the control that prevents dormant apps from becoming forgotten holders of live access.

Related NHI Mgmt Group resources: API Key Management Guide · Guide to NHI Rotation Challenges · Agentic AI Identity Guide · Hugging Face Spaces breach 2024


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, NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakagePlain-text API keys and informal sharing are the central exposure pattern in this builder-app scenario.
NHI-07 — Long-Lived SecretsThe article centres on credentials that remain valid long after the app is shared or forgotten.
Recommendation — Scan builder-created apps for leaked secrets and move shared credentials into controlled issuance and revocation. Replace persistent API keys with expiring credentials and enforce short lifetimes for shared apps.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementIA-5 governs the lifecycle of authenticators such as API keys used by business-built apps.
Recommendation — Apply authenticator lifecycle controls to issue, expire and revoke app credentials on schedule.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsShared links and app access need explicit permissions and duration controls to avoid uncontrolled exposure.
Recommendation — Enforce permission boundaries and time limits for any app that can be opened outside the builder's control.
CIS Controls v8CIS-5 — Account ManagementDormant apps and stale credentials are an account-management problem as much as an app problem.
Recommendation — Track ownership and remove stale access paths for apps that are no longer actively used.

Key terms

  • API Key: A unique identifier used to authenticate a software application or service when calling an API. API keys are static, long-lived credentials and a major source of secrets sprawl, so they need careful storage, narrow scoping, regular rotation, monitoring for leakage and prompt revocation when no longer needed.
  • Time-Boxed Credential: A time-boxed credential is a secret or token that is valid only for a defined period. It is issued with an expiry time and often rotated or reissued automatically, reducing how long a stolen API key, access token, or certificate can be used before it stops working.
  • Application Retirement: Application retirement is the controlled removal of an application from use. It usually includes identifying owners, migrating users and data, revoking credentials and integrations, preserving required records, and shutting down infrastructure and access paths so the application can no longer authenticate or process requests.
  • Secrets Sprawl: Secrets sprawl is the uncontrolled proliferation of sensitive credentials, such as API keys, tokens, passwords and certificates, across codebases, cloud environments, CI/CD pipelines and configuration files. It makes secrets hard to inventory, rotate and revoke, and increases the chance that a leaked credential gives attackers access.

What's in the full article

C1.ai's full video covers the operational detail this post intentionally leaves for the source:

  • How governed app sharing is implemented with SSO and authorisation controls
  • How expiring credentials are handled at scale for business-built applications
  • How activity tracking is used to identify apps that should be retired
  • How the builder workflow changes when secrets are issued and revoked centrally

👉 C1.ai's full video covers the governed sharing model, expiring credentials and activity-based retirement in more detail.

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 November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org