CLI reference — Credential Health
Generated by
bun run generate:cli-referencefromspec/admin-api-openapi.json. Do not hand-edit — regenerate after refreshing the spec.
Every operation below is documented CLI-first (nayaone-admin api <operationId>)
per PRD-407/DO-7.
The REST /admin-api/* method+path is the fallback/alternative integration option.
4 operations in this area.
adminGetCredentialHealth
Section titled “adminGetCredentialHealth”List rows from cloud_credential_health (PRD-203 Phase C). Filterable by severity + provider.
CLI (preferred):
nayaone-admin api adminGetCredentialHealthREST fallback: GET /admin-api/credential-health
adminGetCredentialHealthManifest
Section titled “adminGetCredentialHealthManifest”Return the static manifest of credential references the platform tracks (PRD-203 Phase C).
CLI (preferred):
nayaone-admin api adminGetCredentialHealthManifestREST fallback: GET /admin-api/credential-health/manifest
adminListCredentialHealthRecentDrifts
Section titled “adminListCredentialHealthRecentDrifts”Return the last N cred_health_drifted AE events from the Analytics Engine SQL API (PRD-203 Phase G.6).
CLI (preferred):
nayaone-admin api adminListCredentialHealthRecentDriftsREST fallback: GET /admin-api/credential-health/recent-drifts
adminRefreshCredentialHealth
Section titled “adminRefreshCredentialHealth”Run probes for every manifest entry and upsert outcomes into cloud_credential_health (PRD-203 Phase C). Daily cron + on-demand admin button.
CLI (preferred):
nayaone-admin api adminRefreshCredentialHealth --body '{}'REST fallback: POST /admin-api/credential-health/refresh