2026-11-21 · ~19 min read · Decision records

The engineering SaaS third-party API key and credential governance decision record: why the credential issuance authorization model you chose determines your API access accountability ceiling and your partner credential lifecycle compliance coverage surface

Engineering third-party API key and credential governance decisions are not decisions about internal secrets management — which secrets the organization stores in its vault, who has the authority to rotate those secrets, what the emergency rotation procedure is when a production secret is suspected compromised, and how offboarding processes revoke engineer vault access. Those are internal secret management decisions with a separate governance authority surface addressed in the engineering SaaS secret management governance decision record. Engineering third-party API key and credential governance decisions are also not decisions about whether and how to integrate third-party services into the organization's own infrastructure — which third-party services the organization adopts, what the data sharing approval authority is for integrations that transmit customer data to external providers, what the DPA lifecycle process is for detecting provider terms changes, and who has the authority to disable a third-party integration on an emergency basis. Those are inbound third-party integration decisions with a separate governance authority surface addressed in the engineering SaaS third-party integration governance decision record. Engineering third-party API key and credential governance decisions are about a different authority surface: the outbound credential lifecycle that governs what happens when an external integration partner asks the organization to issue API credentials so the partner can integrate with the organization's API. This is the authority surface that determines who has the right to authorize issuing a production API key to an external partner, what scope and permission constraints the credential must carry, what the credential's expiration and renewal model is, what the revocation process is and what triggers it, and what the documentation and inventory requirements are for the entire credential lifecycle from initial issuance through every renewal to eventual revocation or expiration. These decisions are made informally or not at all — encoded in the assumption that issuing an API key to a partner is an engineering task rather than a governance event, so it can be handled by a developer in response to a Slack request from the business development team without producing a written authorization record or applying any scope constraints; or in the assumption that partner credentials will be revoked when the partnership ends because someone will remember to do it, without a formal partner offboarding trigger that initiates the revocation process; or in the assumption that the authorization records for partner credentials are findable across whatever combination of ticket systems, email chains, and collaborative documents they were created in, without a canonical credential inventory that makes the full credential estate auditable. The consequences accumulate: partner credentials issued without scope constraints consume enough API quota to trigger rate-limit events for paying customers, and cannot be cleanly revoked because no one recorded which key was issued to which partner; formally authorized partner credentials that are never revoked after a partnership ends become attack surface when the former partner's infrastructure is compromised; and organizations with years of credential issuance governance cannot produce a complete credential inventory for a customer security audit because the authorization records are distributed across five systems with no canonical source of truth.

What engineering third-party API key and credential governance decisions actually govern

The engineering third-party API key and credential governance decision record does not cover the internal secret management question — the design and governance decisions about how the organization stores, rotates, and controls access to its own production secrets: the database passwords, the internal service credentials, the third-party API keys the organization uses to call external services, and the encryption keys and certificates that protect the organization's own data. Those are internal secrets that the organization's vault or secrets management system controls, and their governance authority surface involves the rotation authority model, the engineer access provisioning and de-provisioning process, and the emergency rotation procedure. The secret management governance record covers the authority surface for who can initiate a rotation of an internal production secret, what the approval chain is, and how the organization governs the discovery that an internal secret was rotated without following the authorized process.

The engineering third-party API key and credential governance decision record also does not cover the inbound integration question — whether and how the organization adopts third-party services that it integrates into its own infrastructure. When the organization subscribes to a data enrichment service, adds a third-party identity verification SDK, or integrates a CRM platform into its customer management workflows, the governance questions involve the data sharing approval authority, the DPA compliance review, and the emergency disabling authority for integrations with security vulnerabilities. The third-party integration governance record covers that inbound authority surface.

What the third-party API key and credential governance decision record covers is the outbound credential lifecycle: the specific set of governance events that occur when an external organization — an integration partner, a reseller building on the platform, an ecosystem developer, a customer's technical team building a custom integration — asks the organization to issue API credentials so the external party can programmatically access the organization's API. This is a credential that the organization generates and gives to an external party, and that external party uses to authenticate requests to the organization's production API. The credential grants the external party access to whatever the organization's API exposes — which may include customer data, usage analytics, account management functions, or other sensitive operations — at whatever rate and scope the credential allows. The governance questions this raises are not "should we build an integration with this partner?" but "who has the authority to authorize this specific credential issuance, what scope should the credential carry, when does it expire, what happens to it when the partnership ends, and how does the organization know what credentials are active at any given time?"

Three failure patterns illustrate the governance gap. In each case, the organization may have had technically capable engineers — the engineers who generated and managed the credentials may have done so competently. The failures came from authority gaps in the governance model: a company with no issuance authorization model at all, where the absence of a formal process meant that any developer with API key management access could issue credentials in response to an informal request; a company with an authorization model for issuance but no partner offboarding trigger for revocation, so a formally authorized credential remained active years past the relationship it was issued for; and a company with both issuance and revocation governance but no canonical credential inventory, making it impossible to present a complete account of the credential estate when a customer security review required one.

Failure story 1: the partner credentials that rate-limited paying customers

A 26-person B2B SaaS provides a customer messaging platform for SaaS companies — a hosted platform for managing in-app notifications, feature announcements, onboarding flows, and product update communications. The platform serves mid-market SaaS companies and exposes a REST API that customers use to trigger messaging events, query user segment data, and manage notification templates. Engineering at this company is an 11-person team with one engineering manager and a VP Engineering who reports to the CEO. The business development function is a two-person team that manages partnership discussions and integration ecosystem conversations.

In early Q2, a CRM vendor approaches the company's business development team about building an integration: the CRM wants to sync customer messaging engagement data — open rates, click rates, notification delivery status — into the CRM's customer health scoring model. The business development manager assesses the integration as strategically valuable and sends a Slack message to the engineering channel: "Hey — we're working with Helix CRM on an integration that would pull messaging engagement data into their platform. Can someone set them up with API access? They're ready to start building." A backend developer sees the message, confirms with the business development manager that the integration is approved, and generates an API key in the platform's API key management console. The developer sends the key to the business development manager via Slack DM with the message: "Here's the key — standard API access, no expiry set, should work for whatever they need." The business development manager forwards the key to the CRM vendor's technical contact.

The credential carries the organization's standard API key permission profile — read and write access to all API endpoints, no rate limit allocation distinct from the organization's default per-key rate limit of 10,000 requests per hour. The developer did not set a reduced rate limit because the default seemed generous. The developer did not set an expiration because the business development manager said the partnership was open-ended. The developer did not create an authorization record because there was no process requiring one. The only documentation of the credential issuance is two Slack DM messages.

Six months later, the platform's API rate limiting system begins firing alerts during peak hours on Tuesday and Thursday afternoons. Three enterprise customers report that their API integrations are experiencing 429 Too Many Requests responses during time windows that coincide with the alerts. The VP Engineering investigates the API gateway logs and identifies the source of the excess traffic: an API key is generating approximately 2,800 requests per hour during Tuesday and Thursday afternoon windows — a polling implementation that makes one API call per customer account in the CRM's customer database to pull the latest messaging engagement snapshot, running every 90 seconds. At the CRM vendor's scale of approximately 2,100 customer accounts at the time of the investigation, the polling loop generates 2,100 calls per 90-second cycle, which over a one-hour window produces 56,000 calls — well over the 10,000-request-per-hour per-key limit, except that the rate limiting system was misconfigured to apply the per-key limit at the account level rather than the key level, meaning the CRM vendor's key was accumulating against the platform's global rate limit budget rather than a per-key quota. The CRM vendor's polling was consuming approximately 56% of the platform's global API quota during peak hours, leaving 44% for all other callers — insufficient for the platform's enterprise customers during their own peak usage windows.

The VP Engineering's immediate response is to revoke the CRM vendor's API key. The engineering team attempts to identify the specific key to revoke. The API gateway logs contain the key's hash but not the key's label or the partner organization it was issued to — the key was generated with the default label "API Key 1" in the developer's personal key management session and not renamed or tagged to identify the partner. The credential inventory — to the extent one exists — is the Slack DM exchange between the developer and the business development manager, which the developer cannot locate because the DM was in a direct message thread rather than a channel and has scrolled out of the developer's recent conversations. The business development manager's Slack DMs with the technical contact at the CRM vendor contain the key forwarded to the partner, but the developer who generated the key is now working on a different team and cannot confirm whether the key hash in the API gateway logs matches the key they generated. The VP Engineering's response is to rotate all API keys organization-wide — revoking and reissuing every active API key — to ensure the CRM vendor's key is deactivated without the ability to identify and revoke it specifically. The rotation requires coordinating re-issuance with every customer using the API and produces four hours of elevated support ticket volume as customers update their integrations with the new keys.

The business development manager notifies the CRM vendor that the API access has been revoked pending a formal integration agreement and re-issuance. The VP Engineering's retrospective notes three governance gaps: no process requiring an authorization record before a partner credential is generated, no scope constraint requirement that would have set a rate limit allocation for the partner credential, and no credential inventory that would have allowed the team to identify and revoke the specific key without rotating all credentials organization-wide. The developer who issued the credential acted in good faith in response to a request from a manager. The governance failure was structural: the absence of a process that required the issuance to be authorized, documented, scoped, and recorded before the credential was generated.

Failure story 2: the partner credential that survived the partnership by eight months

A 43-person developer tools company provides a code review analytics platform — a SaaS product that tracks pull request cycle time, code review participation rates, review depth metrics, and merge frequency across a development organization's GitHub, GitLab, and Bitbucket repositories. The platform serves engineering managers and VP Engineering roles at 50-to-500-person software companies and exposes an analytics API that customers use to pull metrics into their internal dashboards. The company has a partnership program for integration vendors who want to build on the analytics API, and the VP Engineering manages the partner credential issuance process.

When an integration partner requests API access, the VP Engineering reviews the request, prepares a written authorization document specifying the partner organization's identity, the stated integration purpose, the authorized permission scope (read-only access to the analytics API, no access to raw repository data or personal developer information), the rate limit allocation (500 requests per hour), and the authorized expiration date (12 months from issuance, subject to renewal). The VP Engineering signs the authorization, the credential is generated by the API operations engineer with the authorized scope and rate limit configuration, the credential identifier is noted in the authorization document, and the authorization document is filed in the company's Notion workspace under "Partner Integrations / API Authorizations."

In Q3, a project management tool integration partner — a 30-person company whose product helps engineering managers track project delivery metrics — receives a production credential for their integration. The integration pulls pull request cycle time and merge frequency data to populate the project management tool's engineering velocity dashboard. The VP Engineering's authorization is properly documented. The credential is issued with read-only analytics scope and 500 requests per hour. The credential has a 12-month expiration date.

Seven months into the partnership, the project management tool company acquires a competing code review analytics product that provides equivalent metrics to the company's platform. The acquiring company's CTO sends an email to the company's business development contact: "We've completed the acquisition of CodePulse — their analytics product covers what we were pulling from your API. We'll be winding down the integration on our end. Thanks for the partnership." The business development contact acknowledges the email and marks the partnership status as "churned" in the company's CRM. Neither the business development contact nor the CRM system notifies the VP Engineering or the API operations team that the partnership has ended. The credential revocation process — which exists in the company's internal runbook as a step that "should be completed when a partner relationship ends" — is not triggered because no one who reads the email has the responsibility or the system access to initiate it.

Eight months after the partnership ended, the project management tool company's AWS infrastructure is compromised in a credential stuffing attack that exposes the company's internal secret store. The attackers, moving laterally through the exposed environment, find the credential store for the company's third-party integrations — a secrets manager containing the API keys and OAuth tokens the project management tool's integration services use to call external APIs. Among the exposed secrets is the still-active API key for the code review analytics platform. The attackers begin making API calls to the analytics platform using the still-active credential.

Over the following 78 hours, the attackers make approximately 34,000 API calls to the analytics platform's API, pulling pull request cycle time and code review participation data for the customer accounts accessible via the credential's permission scope. The analytics platform's rate limiting system enforces the 500-request-per-hour allocation, so the calls proceed within the authorized rate — there is no rate-limiting alert. The API access monitoring system logs the calls against the credential identifier. The calls appear normal — same permission scope, same rate pattern as the integration was using when it was active — and do not trigger any anomaly detection alert.

The compromise is identified when the project management tool company notifies its affected customers of the credential stuffing incident and the VP Engineering at the analytics platform reviews the incident notification against the company's active partner credential list. The VP Engineering looks for the project management tool in the Notion "Partner Integrations / API Authorizations" folder and finds the original authorization record — which shows the credential was authorized with a 12-month expiration. The current date is 15 months after issuance. The credential should have been revoked at the 12-month expiration; instead it was renewed automatically by the API key management system (which was configured to auto-renew credentials by default if no revocation was submitted before expiration) and has been active for 15 months. The VP Engineering revokes the credential immediately.

The company's response involves notifying every customer whose data was accessible via the analytics API during the 78-hour exposure window — approximately 240 customer accounts whose pull request cycle time and code review participation metrics were included in the API responses the attackers received. Outside counsel's assessment identifies two governance gaps: the absence of a partner offboarding trigger that would have initiated credential revocation when the business development contact received the partnership termination email, and the auto-renewal configuration in the API key management system that allowed the credential to continue past its authorized expiration without a renewal authorization. The 12-month expiration date in the authorization record was meaningless as a governance control because the system renewed the credential automatically, decoupling the credential's active state from the authorization record's expiration date. The VP Engineering's retrospective notes that the credential revocation process existed in the runbook but was not triggered because no one in the offboarding communication chain had the responsibility or the system integration to initiate it.

Failure story 3: the credential inventory that did not exist for the security audit

A 54-person enterprise SaaS provides a contract lifecycle management platform for professional services firms — managing contract templates, approval workflows, negotiation tracking, executed contract storage, and renewal management for law firms, consulting practices, and financial advisory organizations. Engineering at this company is a 23-person team with three engineering managers, a VP Engineering, and an API operations engineer who manages the partner integration program. The platform has an extensive API used by customers to build internal integrations, by integration partners who build connectors for adjacent workflow tools, and by enterprise customers who have negotiated custom integration agreements. Over three years, the company has issued 23 partner API credentials covering 18 distinct integration partner relationships.

The company's credential issuance governance is comprehensive. The VP Engineering reviews and signs every credential issuance authorization. Each authorization specifies the partner identity, the integration purpose, the authorized permission scope (granular — each authorization lists the specific API endpoint groups and data categories the credential can access), the rate limit allocation, and the expiration date (90 days, requiring renewal authorization before expiration). The API operations engineer generates credentials with the authorized scope and rate limit configuration. Eleven credentials have been revoked when partnerships ended, documented in Notion with the revocation date and trigger event. Four credentials have been renewed, each with a new authorization signed by the VP Engineering.

When an enterprise customer's annual vendor security review includes the company in its third-party API vendor assessment, the security review team asks for the following documentation package: a complete list of all active third-party API credentials with their authorization records, the permission scope for each active credential, the expiration dates for all active credentials, and the revocation records for all credentials issued and subsequently revoked in the prior three years. The enterprise customer's security review is a standard contract compliance requirement — the customer's vendor security policy requires this documentation as part of its annual third-party risk management process.

The VP Engineering asks the API operations engineer to compile the documentation package. The API operations engineer begins by pulling the active credential list from the API key management system: 12 active credentials. The engineer then attempts to match each active credential to an authorization record. The authorization records are distributed across five systems accumulated over three years of partnership growth: Notion (the primary system, used for the past 18 months — contains 11 of the 23 total issuance authorization records), Jira (used before the company adopted Notion — contains 6 authorization records in a deprecated project), email threads (3 authorization records for early partnerships issued before any formal process existed, in the VP Engineering's email archive), a Google Sheet (1 authorization record for a credential issued during a period when the Notion workspace was being reorganized), and Slack threads (2 informal issuance records that were never formalized into authorization documents, for credentials issued in response to business development requests before the formal process was implemented).

The engineer's audit produces the following findings. For 12 active credentials, the engineer successfully locates authorization records for 9. For 2 of the remaining 3, the engineer locates Jira tickets that contain the authorization information but not in the standard authorization document format — the tickets contain the partner name, the requested scope, and a VP Engineering approval comment, but no signed authorization document. For the remaining 1 active credential, the engineer cannot locate any authorization record — the credential identifier in the API key management system does not match any entry in Notion, Jira, or the Google Sheet, and the VP Engineering does not recall issuing it. The engineer cannot determine from the API key management system when the credential was issued or by whom, because the system retains only the credential's creation timestamp and not the user account that created it.

For the 11 revoked credentials, the engineer finds complete revocation records for 8 in Notion. For 2 revoked credentials, the revocation is noted in Jira ticket comments but no formal revocation record was produced. For 1 revoked credential, there is no revocation record — the credential appears in the API key management system's history as deactivated, with a deactivation timestamp, but no corresponding governance record exists for the deactivation decision.

The enterprise customer's security review team receives the documentation package and flags three findings: one active credential with no authorization record, two active credentials whose authorization information exists in Jira ticket comments rather than signed authorization documents, and two revoked credentials with no formal revocation records. The security review team's findings are added to the company's vendor risk register. The findings do not rise to a contract termination event, but the customer requires a remediation plan specifying how the company will establish a canonical credential inventory and ensure that all future credential issuances and revocations produce records in the canonical system. The VP Engineering's retrospective notes that the credential governance processes were solid for the most recent 18 months of operations but that the distributed record-keeping from the company's earlier growth period created a credential estate that could not be audited from a single system, making the company unable to respond to a standard customer security review with a complete and accurate documentation package.

The two structural properties engineering third-party API key and credential governance decisions set

The three failure stories each involve a different governance gap, but they share the same two structural properties that engineering third-party API key and credential governance decisions determine.

API access accountability ceiling

The API access accountability ceiling is the structural property of the credential issuance authorization model, the credential scope and permission model, and the credential lifecycle and revocation model that determines whether the organization can account for every active partner API credential through a consistent, documented authority chain covering who authorized the credential issuance, what scope and permissions the credential carries, what expiration date was set, and whether the credential has been revoked or renewed through an authorized process — so that the organization can answer the question "who authorized this credential, what access does it grant, is it still active, and if it is active was its last renewal authorized by the named authority?" for every partner API credential in any customer security review, vendor audit, incident investigation, or regulatory compliance assessment.

The API access accountability ceiling is bounded by three models:

The credential issuance authorization model names the role with the authority to approve issuing a production API key to an external integration partner and defines the minimum information required for a valid issuance authorization, the authorization document requirements, and the prohibition on credential generation without a prior written authorization. The model's core requirement is that every partner API credential issuance is preceded by a written authorization document signed by the named authorization authority before any credential is generated. The named authorization authority for most engineering SaaS organizations is the VP Engineering or a designated API operations manager, with legal counsel or a data protection role consulted for any issuance that grants access to customer personal data. The minimum information required for a valid issuance authorization covers: the partner organization's legal name and the named technical contact who will receive the credential; the stated integration purpose in enough detail to support the scope minimization review; the authorized permission scope specifying the exact API endpoint groups and data categories the credential will grant access to; the authorized rate limit allocation as a specific requests-per-hour or requests-per-day figure that will be enforced at the API gateway; the authorized expiration date as a specific calendar date no longer than the organization's maximum credential lifetime policy; the credential identifier that the API operations engineer will assign to the generated key so that the key can be mapped to this authorization record; and the authorization authority's name and signature with the date of authorization. The prohibition on pre-authorization credential generation applies equally to credentials issued in response to Slack messages, email requests, verbal instructions from business development managers, and any other communication that is not a signed written authorization document. Business development managers and partner managers are intake roles: their job when a partner requests API access is to submit the request to the authorization intake process, not to ask an engineer to generate a key.

The credential scope and permission model requires that every partner credential be issued with a constrained permission set covering only the API endpoints and data access the partner's stated integration purpose requires, with an explicit rate limit allocation enforced at the API gateway level, and with a credential identifier that maps the generated key to the partner organization, the authorization record, and the issuance date in the credential inventory. The scope minimization review is a required pre-authorization step: before the authorization document is prepared, the person preparing the authorization reviews the partner's stated integration purpose against the organization's API permission model and identifies the minimum set of endpoints and data categories required to support that purpose. A credential issued for an integration purpose that requires read access to customer messaging engagement data must not carry write permissions or access to customer personal data beyond what the engagement metrics require. The rate limit allocation is not the organization's default per-key rate limit — it is a specific allocation calibrated to the partner's integration design. A partner whose integration is event-driven and calls the API in response to customer actions needs a different rate limit allocation than a partner whose integration polls the API on a fixed schedule. The rate limit allocation must be specified in the authorization document and enforced by the API gateway configuration for the specific credential — not as a guideline the partner self-enforces. The credential identifier requirement ensures that the generated key can be mapped to its authorization record without requiring access to the plaintext key: the credential identifier is a stable label assigned at generation time that associates the key's hash in the API key management system with the partner organization and authorization record in the credential inventory.

The credential lifecycle and revocation model defines the renewal authorization requirements for credentials approaching their authorized expiration date, the revocation authority and revocation process for credentials that must be deactivated before expiration, the partner offboarding trigger that initiates the revocation process when a partnership ends, and the emergency revocation process for credentials suspected of compromise. The renewal requirement prohibits auto-renewal: a credential reaching its authorized expiration date without a new renewal authorization must be deactivated, not automatically extended. The VP Engineering must review the renewal request, confirm the partnership is active, confirm the integration purpose and scope remain appropriate, and sign a renewal authorization before the credential's expiration date is extended. A renewal authorization is a new governance event — not an administrative update — requiring the same minimum authorization information as the original issuance. The partner offboarding trigger defines the events that initiate credential revocation: a partnership termination notification (from any communication channel — email, Slack, formal contract termination), expiration of a partner agreement without a renewal request, a partner organization acquisition by a competitor, or any internal decision to discontinue the partnership. The trigger must specify a named role responsible for initiating revocation within a defined maximum window — 30 calendar days for planned terminations, 4 hours for emergency revocations triggered by suspected compromise. The emergency revocation authority must be named explicitly and must be reachable outside business hours: the authorization model must not require the VP Engineering to approve an emergency revocation if the VP Engineering is unavailable, because the value of a named emergency authority is that the organization can revoke a compromised credential without resolving an authority ambiguity during the first hours of an incident.

Partner credential lifecycle compliance coverage surface

The partner credential lifecycle compliance coverage surface is the degree to which the organization's partner credential governance model covers the full lifecycle of every credential issued to an external integration partner — from initial issuance through scope changes, renewals, partner relationship changes, and eventual revocation or expiration — with a credential inventory that provides a single source of truth for every active partner credential, its authorization record, its current scope, its expiration date, and its revocation status, so that the organization can respond to a customer security audit, a vendor risk assessment, a regulatory inquiry, or an incident investigation with a complete and accurate account of every partner credential that exists or has existed in the organization's credential estate.

The partner credential lifecycle compliance coverage surface is bounded by three models:

The credential inventory and audit model defines the canonical system of record for all partner API credentials and the audit cadence for confirming that the inventory matches the live state of the API key management system. The credential inventory must be maintained as a single authoritative source — not distributed across Jira tickets, email chains, Notion databases, Google Sheets, and Slack threads, which creates a credential estate that cannot be audited from a single system and cannot be presented to a customer security reviewer as a complete record. The inventory must be a designated, maintained system — a database table, a structured document in a canonical location, or a credential management tool — that is the required filing destination for every authorization record, every renewal record, and every revocation record from the moment the first credential is issued. The minimum content of the inventory for each credential covers: the partner organization's legal name and named technical contact; the credential identifier; the issuance date and the name of the authorizing role; the authorization record reference (a document path, ticket number, or database row that locates the signed authorization document without requiring access to the plaintext key); the authorized permission scope as a machine-readable scope string or list of authorized endpoint groups; the rate limit allocation as a specific rate figure; the authorized expiration date; the renewal history with each renewal event's authorization reference, renewal date, and new expiration date; and the revocation record with the trigger event, revocation date, and name of the revoking role, once the credential is revoked. The inventory audit runs quarterly and confirms: every active key in the API key management system has a corresponding active-status entry in the inventory with a valid authorization record and an unexpired authorized expiration date; every inventory entry with an active status has a corresponding active key in the API key management system; every inventory entry with an expiration date that has passed is either accompanied by a renewal authorization record or has a revocation record showing it was deactivated before expiration; and no key is active in the API key management system with an expiration date that has passed without a renewal authorization. Any key active in the management system without an inventory entry is flagged as an ungoverned credential requiring immediate investigation and revocation until an authorization record is located. Any inventory entry with an active status and an expired authorized expiration date without a renewal authorization is flagged as a credential active beyond its authorized lifecycle, requiring immediate review and either revocation or retroactive renewal authorization with a VP Engineering explanation of why the auto-renewal configuration allowed the credential to persist past its authorized expiration date.

The partner integration assessment model defines the pre-issuance assessment requirements that must be completed before a credential issuance authorization document is prepared. The assessment covers five areas. The partner identity verification confirms that the requesting organization is a legal entity that has completed the required agreement documentation — a data processing agreement if the credential will grant access to any customer personal data, a partner integration agreement specifying the authorized integration purpose and the organization's right to revoke the credential at any time for any reason, and any sector-specific regulatory requirements that apply to the data categories the credential will access. The integration purpose review confirms that the stated integration purpose is consistent with the organization's data handling policies and that the requesting organization has not previously had a credential revoked for a policy violation. The scope minimization review confirms that the permission set in the authorization document is the minimum required to support the stated integration purpose — the reviewer must be able to articulate why each endpoint group in the authorized scope is required for the stated purpose and must flag any endpoint group in the requested scope that cannot be justified by the stated purpose. The rate limit allocation review confirms that the requested or proposed rate limit allocation, when added to the existing rate limit allocations for all currently active partner credentials, does not exceed the organization's total API rate limit budget threshold for partner allocations — a threshold that must leave sufficient headroom for the organization's direct customers to operate without rate limiting even if all active partner credentials are consuming their full allocations simultaneously. The data handling agreement review confirms that the data processing agreement or equivalent agreement covering the data categories accessible via the credential has been signed by the partner organization's authorized signatory and is current — not an agreement signed under a previous version of the organization's data handling policies that may have been superseded by a terms update or an expansion of the customer data categories accessible via the API.

The third-party credential governance review model defines the annual review structure that audits every credential issuance, renewal, and revocation event in the period against the credential inventory, confirms that every active credential has a valid authorization record and has not exceeded its authorized expiration without a renewal authorization, and confirms that every partnership that ended in the period produced a timely credential revocation record. The annual review covers three audit areas. The issuance completeness audit confirms that every credential issuance event in the period — identified by pulling the creation events from the API key management system's audit log — has a corresponding signed authorization document in the credential inventory, that the authorization document was signed before the credential was generated, and that the authorization document contains the minimum required information. Any credential issuance event without a prior signed authorization in the inventory is added to the governance gap log as an unauthorized issuance requiring a VP Engineering explanation and a retroactive authorization or immediate revocation. The lifecycle compliance audit confirms that every active credential in the inventory has not exceeded its authorized expiration date without a renewal authorization, that the renewal authorization for every renewed credential was signed before the previous expiration date, and that no credential in the API key management system has an auto-renewal configuration that could extend a credential's lifetime past its authorized expiration date without a governance event. Any credential with an auto-renewal configuration is flagged as requiring manual reconfiguration to disable auto-renewal and implement the required renewal authorization process. The revocation timeliness audit confirms that every partnership that ended in the period — identified by cross-referencing the credential inventory's active-to-revoked transitions against the partner relationship records in the CRM or partner management system — produced a credential revocation within the maximum revocation window specified in the credential lifecycle and revocation model, and that every revoked credential in the period has a revocation record specifying the trigger event, the revocation date, and the revoking authority. Any partnership termination event that is in the partner relationship records but has no corresponding credential revocation event in the credential inventory within the authorized window is added to the governance gap log as a revocation timeliness failure requiring investigation to confirm the credential was eventually revoked and to identify why the offboarding trigger did not initiate the revocation within the required window. The governance gap log is reviewed by the VP Engineering, the API operations engineer, and legal counsel before the annual review closes. Any pattern of issuances without prior authorizations is flagged as a signal that the intake channel controls are not preventing informal credential requests from reaching engineers with API key management access. Any pattern of revocation timeliness failures is flagged as a signal that the partner offboarding trigger is not reliably reaching the credential revocation process.

These two structural properties address different partner credential governance gaps: the API access accountability ceiling governs whether the organization can account for the full lifecycle of every partner credential through a consistent authority chain — who authorized the issuance, what scope was authorized, what expiration was authorized, was every renewal authorized, was the revocation triggered by the partner offboarding process — while the partner credential lifecycle compliance coverage surface governs whether that accountability chain is maintained in a canonical inventory that can be audited against the live state of the credential estate, so that the organization can answer a customer security reviewer's or auditor's question about its active third-party API credentials with a complete and accurate response rather than a best-effort reconstruction from distributed records.

The five ADR sections in the engineering third-party API key and credential governance decision record

An engineering third-party API key and credential governance decision record covers five decisions. Each has a named owner and a review cadence.

ADR section 1: third-party credential issuance authorization model

The third-party credential issuance authorization model names the role with the authority to approve issuing a production API key to an external integration partner and defines the intake requirements, the pre-issuance assessment requirements, the authorization document requirements, the minimum information required for a valid authorization, and the prohibition on credential generation without a prior written authorization. The model's scope includes: the authorization authority designation (the VP Engineering as the named authorization authority for all partner API credential issuances; the authorization authority may not delegate sign-off to an engineering manager, API operations engineer, or business development manager regardless of the apparent routine nature of the request); the intake channel controls (the specific channel through which credential requests enter the authorization process — a designated partner integration request form or ticket category — and the prohibition on credential generation in response to requests received through informal channels; partner managers and business development managers who receive integration requests from partner organizations are required to submit the request through the formal intake channel with the minimum required information, not to contact engineering directly); the pre-issuance assessment requirements (the five assessment areas — partner identity verification, integration purpose review, scope minimization review, rate limit allocation review, and data handling agreement review — that must be completed before the authorization document is prepared, with each assessment documented in the partner integration request record so the VP Engineering can review the assessment findings before signing the authorization); the authorization document minimum requirements (the partner organization's legal name and named technical contact; the stated integration purpose; the authorized permission scope specifying the exact endpoint groups and data categories; the rate limit allocation as a specific enforced rate figure; the authorized expiration date; the data handling agreement reference confirming the agreement is signed and current; and the authorization authority's name and signature with the date); the credential identifier assignment requirement (the authorization document must include the credential identifier that the API operations engineer will assign to the generated key — the identifier assigned before generation and recorded in the authorization document, ensuring the generated key can be mapped to its authorization record via the identifier rather than requiring comparison of the plaintext key to the authorization record); and the authorization record retention requirement (all authorization records retained as part of the credential inventory for the organization's longest applicable partner data retention period).

ADR section 2: credential scope and permission model

The credential scope and permission model requires that every partner credential be issued with a constrained permission set, an explicit rate limit allocation, and a credential identifier that maps the generated key to its authorization record and inventory entry. The model's scope includes: the scope minimization requirement (the authorized permission scope in every credential issuance authorization must specify the minimum set of API endpoint groups and data categories required to support the partner's stated integration purpose; the authorization document must not include endpoint groups or data categories that the integration purpose review cannot justify; any endpoint group in the partner's initial request that the scope minimization review cannot justify is excluded from the authorization scope, and the partner is informed of the scope constraint and its basis before the authorization is finalized); the rate limit allocation specification (the authorized rate limit allocation in every credential issuance authorization must be a specific requests-per-unit-time figure that the API gateway enforces for the specific credential, not the organization's default per-key rate limit; the allocation must be sized based on the partner's integration design — a polling implementation requires a larger allocation than an event-driven implementation, and the authorization must document the basis for the allocation and confirm that the allocation does not exceed the partner rate limit budget threshold when added to existing partner allocations); the customer data access constraint (any credential that grants access to customer personal data must require a signed data processing agreement covering the specific data categories accessible via the authorized scope before the credential is generated; the data processing agreement reference must appear in the authorization document; a credential may not be generated for a permission scope that includes customer personal data until the data processing agreement is confirmed current and signed); the write permission constraint (write permissions — any endpoint that creates, modifies, or deletes records in the organization's production systems — require an additional authorization review confirming the write purpose and a reduced credential lifetime not exceeding 30 days, requiring renewal authorization before each 30-day extension; read-only credentials may carry the standard maximum credential lifetime); and the credential identifier tagging requirement (every credential generated by the API operations engineer must be tagged in the API key management system with the partner organization name, the authorization record reference, and the issuance date — the tagging performed at generation time before the credential is transmitted to the partner, ensuring the credential can be identified in API access logs without requiring access to the plaintext key).

ADR section 3: credential lifecycle and revocation model

The credential lifecycle and revocation model defines the renewal authorization requirements for credentials approaching expiration, the revocation authority and revocation process for credentials that must be deactivated before expiration, the partner offboarding trigger that initiates the revocation process when a partnership ends, and the emergency revocation process for credentials suspected of compromise. The model's scope includes: the renewal authorization requirement (no credential may be renewed without a new written renewal authorization signed by the VP Engineering before the credential's current authorized expiration date; the API key management system must be configured to deactivate any credential that reaches its expiration date without a renewal authorization record in the credential inventory — not to auto-renew; the renewal authorization must confirm that the partnership is active, that the integration purpose and authorized scope remain appropriate, and that the data processing agreement or equivalent remains current; a renewal authorization is a new governance event that extends the credential's authorized expiration date, not an administrative update); the partner offboarding trigger specification (the events that trigger credential revocation: a partnership termination notification received by any organizational role in any communication channel; expiration of a partner agreement without a renewal request; partner organization acquisition by a competitor; any internal decision to discontinue the partnership; the trigger specification must name the roles responsible for routing each trigger event to the credential revocation process and the maximum routing window for each trigger type, and must require the routing role to file a revocation initiation record in the credential inventory before routing the trigger to the API operations engineer); the revocation authority and process (the VP Engineering as the revocation authorization authority for planned revocations; the named emergency revocation authority — the VP Engineering, the CEO, or a designated on-call lead who is reachable outside business hours — for emergency revocations triggered by suspected compromise; the revocation process covers generating a signed revocation authorization, deactivating the credential in the API key management system, filing the revocation record in the credential inventory, and notifying the partner organization of the revocation; the emergency revocation process authorizes revocation without prior notification to the partner when the credential is suspected compromised, with notification occurring after the revocation); the emergency revocation response window (maximum 4 hours from the moment a suspected credential compromise is identified to the moment the credential is deactivated in the API key management system; the emergency revocation authority must be reachable within 1 hour at any time; the emergency revocation runbook must specify the escalation path if the first named emergency authority is not reachable within 1 hour); and the customer notification requirement for emergency revocations (if an emergency revocation is triggered by a suspected compromise and the credential's access logs show API calls during the suspected compromise window, the organization must notify every customer whose data was accessible via the credential's permission scope during the exposure window of the potential data access event, within the notification timeline required by applicable data processing agreements and applicable statutes).

ADR section 4: credential inventory and audit model

The credential inventory and audit model defines the canonical system of record for all partner API credentials and the quarterly audit cadence for confirming that the inventory matches the live state of the API key management system. The model's scope includes: the canonical inventory system designation (a single named system is the required filing destination for every authorization record, renewal record, and revocation record from the moment the first credential is issued; the organization must designate the canonical system before the first credential is issued and must not create authorization or revocation records in any other system; records created in other systems before the canonical system was designated must be migrated into the canonical system and cross-referenced to the credentials they correspond to); the minimum inventory entry content (the partner organization's legal name and named technical contact; the credential identifier matching the tag assigned at generation time in the API key management system; the issuance date and name of the authorizing role; the authorization record reference locating the signed authorization document within the canonical system; the authorized permission scope as a machine-readable scope string or list; the rate limit allocation as a specific rate figure; the authorized expiration date; the renewal history with each renewal event's authorization reference and new expiration date; and the revocation record with trigger event, revocation date, and revoking authority for revoked credentials); the quarterly inventory audit process (the API operations engineer pulls the complete active credential list from the API key management system's audit log, matches each active credential to its inventory entry using the credential identifier, confirms each active credential's inventory entry has a valid authorization record and an expiration date that has not passed without a renewal authorization, and confirms each inventory entry with an active status has a corresponding active credential in the management system; the audit produces a reconciliation report noting any discrepancy and the investigation and resolution for each discrepancy); and the ungoverned credential response (any credential found active in the API key management system without an inventory entry must be deactivated immediately and the deactivation reported to the VP Engineering with an investigation into how the credential was generated without an authorization record — a credential with no authorization record and no inventory entry is treated as a potential security event until its provenance is confirmed).

ADR section 5: third-party credential governance review model

The third-party credential governance review model defines the annual review structure that audits every credential issuance, renewal, and revocation event in the period against the credential inventory, confirms that every active credential has a valid authorization record and has not exceeded its authorized expiration without a renewal authorization, and confirms that every partnership that ended in the period produced a timely credential revocation. The annual review covers three audit areas: the issuance completeness audit confirms that every credential creation event in the API key management system's audit log in the period has a corresponding signed authorization document in the credential inventory dated before the creation timestamp, that every authorization document contains the minimum required information, and that any creation event without a prior authorization is added to the governance gap log as an unauthorized issuance; the lifecycle compliance audit confirms that every active credential in the inventory has not exceeded its authorized expiration date without a renewal authorization, that every renewal authorization was signed before the previous expiration date, that no credential in the API key management system has an auto-renewal configuration, and that the total rate limit allocation across all active partner credentials does not exceed the partner rate limit budget threshold confirmed in the most recent rate limit allocation review; and the revocation timeliness audit confirms that every partner relationship that ended in the period — identified by cross-referencing the inventory's active-to-revoked transitions against the partner CRM records — produced a credential revocation within the maximum revocation window for the trigger type, and that every revoked credential has a revocation record with the trigger event, revocation date, and revoking authority. The governance gap log is reviewed by the VP Engineering, the API operations engineer, and legal counsel before the annual review closes. Any pattern of issuances without prior authorizations is flagged as a signal requiring intake channel reinforcement. Any pattern of revocation timeliness failures is flagged as a signal requiring partner offboarding trigger reinforcement. Any rate limit allocation overage is flagged as requiring immediate review of the partner rate limit budget threshold and the allocation review process.

Where engineering third-party API key and credential governance decisions end up

The first failure story's outcome — a developer who generates a partner API key in good faith in response to a Slack message from the business development manager, without scope constraints, without an authorization record, without an expiration date, and without a credential inventory entry that would allow the key to be identified and revoked later — is not a consequence of poor engineering judgment. The developer was responding to a request from a manager about a partnership the company wanted to support. The governance failure was structural: the absence of a process that required the issuance to be authorized, documented, scoped, and recorded before any credential was generated. An engineer who has API key management access and receives a credible request from a business development manager will generate a key unless the organization has built a process that makes the key generation unavailable without a prior authorization record. The absence of that process is not a failure of the developer's judgment; it is a gap in the organization's credential governance model that makes ad hoc issuances the path of least resistance when a business request arrives through an informal channel.

The founding engineering third-party API key and credential governance decisions — which role has the authority to authorize a partner credential issuance, what scope and permission constraints apply, what expiration and renewal model governs the credential lifecycle, what partner offboarding trigger initiates revocation, and what credential inventory makes the full estate auditable — are made once and constrain the organization's partner API access accountability and incident response capability for every credential event that follows. Those decisions are most often made informally, through the assumption that issuing API keys to partners is an engineering task that does not require the same authorization process as issuing access to internal systems, that credentials will be revoked when partnerships end because the right people will remember, and that authorization records will be findable across whatever systems the team happens to use. They end up in the VP Engineering's incident response when a former partner's compromised infrastructure uses a still-active credential to access customer data for three days before the company identifies the source. They end up in the enterprise customer's vendor risk register when a security review audit reveals that the credential inventory is distributed across five systems with incomplete records for eleven of twenty-three issued credentials. They end up in the rate-limit incident postmortem when a partner credential issued informally without a rate limit constraint consumes half the organization's API quota and forces a full key rotation to restore service. WhyChose surfaces those decisions from the conversations where they were made — the business development channel where the original partner credential request came in and an engineer responded without anyone flagging that an authorization record was needed, the incident retrospective where the team first realized that no one had revoked the former partner's credentials, the security review preparation call where the VP Engineering first discovered that the authorization records were distributed across five systems with no canonical inventory.

The engineering SaaS secret management governance record and the engineering third-party API key and credential governance record address adjacent but distinct authority surfaces in the credential governance space. The secret management governance record covers the authority surface for the organization's own internal secrets — the production database passwords, the internal service credentials, the third-party API keys the organization uses to call external services, and the encryption keys and certificates stored in the organization's vault. The governance authority surface for internal secrets is about who can rotate those secrets, what the approval chain is for a rotation that affects dependent services, and how the organization governs the discovery that an internal secret was rotated without following the authorized process. The third-party API key and credential governance record covers the authority surface for outbound credentials issued to external partners — credentials the organization generates and gives to external parties so those parties can access the organization's API. These are credentials the organization controls at the issuance and revocation level, but that are stored and used by the external party; the governance authority surface is about who can authorize the issuance, what scope the credential carries, when it expires, and what triggers the revocation. An organization can have an excellent internal secret management governance model — well-managed vault rotation authority, clean offboarding that removes departing engineers' vault access, documented emergency rotation procedures — and still have a partner credential governance gap if its outbound API keys can be issued by any developer in response to a business request, if credentials issued to former partners are never revoked because no offboarding trigger connects partner relationship management to the credential lifecycle, and if the credential estate has never been captured in a canonical inventory that can be presented to a customer security reviewer as a complete and accurate account of every partner API credential the organization has issued.