Api credentials hygiene

From sundial-org/awesome-openclaw-skills · View interactive version

Api credentials hygiene is an AI agent skill from the GitHub repository sundial-org/awesome-openclaw-skills. Audits and hardens API credential handling (env vars, separation, rotation plan, least privilege, auditability). Use when integrating services or preparing production deployments where secrets must be managed safely.

How to use this skill

Skill file

API credentials hygiene: env vars, rotation, least privilege, auditability

PURPOSE

Audits and hardens API credential handling (env vars, separation, rotation plan, least privilege, auditability).

WHEN TO USE

INPUTS

OUTPUTS

Success = no secrets committed or embedded, permissions minimized, rotation steps documented, and auditability defined.

WORKFLOW

  1. Inventory credentials:
  1. Define separation:
  1. Move secrets to env vars / secret manager references:
  1. Least privilege:
  1. Rotation plan:
  1. Auditability:
  1. STOP AND ASK THE USER if:

OUTPUT FORMAT

Credential map template:

CREDENTIAL MAP
- Integration: <name>
  - Env vars:
    - <VAR_NAME>: <purpose> (secret/non-secret)
  - Permissions/scopes: <list>
  - Used by: <service/workflow>
  - Storage: <secret manager/env var>
  - Rotation: <cadence> | <owner> | <procedure>
  - Audit: <what is logged and where>

If providing a template, output assets/dotenv-template.example with placeholders only.

SAFETY & EDGE CASES

EXAMPLES

Output: Env var map + plan to move to n8n credentials/env vars + rotation runbook.

Output: Two env maps + naming scheme + access boundary checklist.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.