API Credential Management
Pronunciation: A-P-I krih-DEHN-chul MAN-ij-ment
Definition
API credential management is the process of issuing, storing, restricting, rotating and revoking secrets or tokens that grant an application access to an API. For payment infrastructure, mistakes can expose records or permit unauthorized fund movement.
Overview
What it means and why it exists
API credential management is the process of issuing, storing, restricting, rotating and revoking secrets or tokens that grant an application access to an API. For payment infrastructure, mistakes can expose records or permit unauthorized fund movement.
How it works
An administrator creates credentials with clearly defined scopes, stores secrets in an appropriate server-side secret manager, and assigns them only to the services that need them. Systems log credential use without logging secret values, enforce role-based approval for sensitive scopes, rotate compromised or aging keys, and revoke retired access.
Technical details worth understanding
Separate production and test credentials, read-only and payout credentials, and human and machine identities. Rotation should permit a short controlled overlap if the provider supports it, then verify that old credentials are disabled. A secure deployment must prevent keys from being included in browser bundles, Git commits and support tickets.
What can go wrong
A credential can be technically valid yet too powerful. Exposing a key in a client app or CI log allows others to impersonate the merchant. Deleting it from source code is insufficient if historical copies remain valid; revocation is required.
Practical checks
Inventory credentials by owner, environment, permitted methods and rotation date. Eliminate secrets from client bundles, logs and repositories. Run a revocation exercise and verify that compromised keys really stop working; a rotation that leaves the old payout token active has not achieved its security purpose.
Related concepts
Payment Status API, Webhook, API Key.
Further reading
Example
A retailer finds a leaked reporting API key in a repository commit. It revokes the key, creates a restricted replacement, scans access logs and verifies no payout-capable secret was exposed before restoring normal operations.
Comparison
Credential management controls application API access; private-key management controls blockchain signing authority. An API key is not generally a wallet's spending key, though a payment provider could give it operationally sensitive permissions.
Key Takeaway
Separate production and test credentials, read-only and payout credentials, and human and machine identities.
Sources
- IETF RFC 9110 — IETF (2026-07-30)
- OpenAPI Initiative Documentation: V3.2.0 — OpenAPI Initiative (2026-07-30)