Join our Newsletter — 33% off our NHI Course

Who should own the risk when a project key can access AI services?

Ownership should sit across IAM, application security, and the teams enabling the AI service. The key issue is not just secret management, because the service itself changes the credential’s authority. Governance should require review before service enablement, plus logging, budget controls, and fast revocation paths after exposure.

Why This Matters for Security Teams

When a project key can access AI services, the risk is not limited to storage of the secret itself. The AI service often expands what that key can do, including model invocation, data retrieval, tool use, or spend consumption. That means ownership has to cover identity governance, application risk, and service enablement decisions together. The NIST Cybersecurity Framework 2.0 is useful here because it frames accountability across governance, protection, detection, and response rather than treating credentials as a narrow technical asset.

Practitioners often get caught by the mismatch between who created the key and who granted the service access. A project team may manage the secret, while a platform team turns on the AI endpoint, and no one owns the combined risk. That is where access reviews, logging, budget guardrails, and revocation playbooks become control ownership questions, not just engineering tasks. In practice, many security teams encounter this only after an exposed key has already been used to drive AI spend, data access, or tool execution rather than through intentional pre-approval.

How It Works in Practice

Operationally, ownership should be split by responsibility but unified by governance. IAM or identity security should define how the project key is issued, rotated, scoped, and revoked. Application security should assess what the key can reach once the AI service is enabled, including prompts, connectors, APIs, and any downstream toolchains. The team enabling the service should own the business justification and the service-specific approval that changes the key’s effective authority.

That model works best when the service onboarding process includes a risk review before activation, rather than after deployment. The review should confirm whether the key can reach production data, whether the service can call external tools, whether usage limits exist, and whether logs can support incident response. NHI guidance from the OWASP Non-Human Identity Top 10 is relevant because project keys behave like non-human identities once they are trusted by a service.

  • Define a named owner for the secret and a separate owner for the AI service approval.
  • Record the service, scopes, and downstream permissions in an inventory that can be reviewed.
  • Require logging for key use, service calls, and unusual spend or token consumption.
  • Use short-lived credentials or automated rotation where the platform supports it.
  • Build a fast revocation path that works even if the application team is unavailable.

NIST SP 800-53 Rev 5 Security and Privacy Controls is a good reference for translating this into controls around access enforcement, auditing, incident response, and configuration management. These controls tend to break down when project keys are reused across multiple environments because the service-specific blast radius becomes impossible to attribute quickly.

Common Variations and Edge Cases

Tighter ownership often increases process overhead, requiring organisations to balance faster experimentation against tighter control of AI service use. That tradeoff is real, especially in teams that want self-service access to models and tool integrations. Current guidance suggests that the answer is not to centralise every decision, but to ensure the authority change caused by service enablement is explicitly approved and recorded.

Some environments blur the line between a project key and a broader workload identity, especially when automation platforms, CI/CD pipelines, or agentic workflows are involved. In those cases, the key may inherit permissions indirectly through cloud roles or orchestration tools, so the owner must understand the full trust chain, not just the secret value. That is where governance overlaps with NHI management: the question is who can authenticate, what the identity can reach, and who can shut it off when the service changes.

Edge cases also include vendor-managed AI platforms, shared development sandboxes, and emergency access during incident response. Best practice is evolving here, and there is no universal standard for this yet. The safest pattern is to keep the business owner accountable for usage, the platform team accountable for control enforcement, and security accountable for review, detection, and revocation. This matters most when the project key is embedded in automation because unauthorized AI access can persist long after the original project owner has moved on.

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 SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 GV.OC-01 Ownership and accountability for AI service access fit governance objectives.
OWASP Non-Human Identity Top 10 NHI-01 Project keys act like non-human identities once they gain service authority.
NIST SP 800-53 Rev 5 AC-2 Account management is needed to govern issuance, review, and revocation of keys.

Treat each project key as an identity with scoped authority, lifecycle controls, and review.