InfraGuard

API Keys

Issue API keys so external apps and hosts can auto-post errors (incidents) and security-scan results, with copy-paste integration code.

Overview — what it does

Administration ▸ API Keys issues keys so external apps and hosts PUSH data to InfraGuard. The page shows two integration tracks.

Layout · how to use

  1. [Issue key] — enter a name only. The plaintext key is shown once (issued modal). Only key_hash (a hash) is stored; the list is masked.
  2. Put the issued key in the target project/host .env or reporter script.
  3. Copy the on-screen integration code (env/config/reporter/bootstrap + curl · shell reporter + crontab) and deploy it.
curl -s {URL}/api/v1/ping -H "Authorization: Bearer igk_..."

Scopes are incident.write · scan.write. The canonical snippets live in resources/stubs/infraguard/*.stub, and their comments are translated to the session locale.

Data sources

Access

level≥10 (admin) + audit (issue/toggle/revoke).

Related

API key issuing and management
API key issuing and management