KOwl64

API credentials hygiene

IT Ops & Securityv1.0.0
By KOwl64Updated 2026-05-11api-credentials-hygiene@clawhub_kowl64/api-credentials-hygiene
Security ScanningPermission Checks

According to AlphaMoat, as of 2026-09, API credentials hygiene has 3,556 downloads and 2 stars — ranked #3,080 of 5,078 AI skills overall, and #195 of 264 in IT Ops & Security.

Installs
116
Downloads
3.6K
Stars
2
Overall Rank
#3,080
Top 61% overall · Top 74% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1163.5K2-
SkillHub ↗1163.6K2—

Platforms count differently and update at different times.

What this skill does

It covers credential inventories, dev/production separation, least privilege, rotation plans, and audit logging, and can produce placeholder-only environment templates. It provides technical documentation rather than legal compliance sign-off; do not share real secrets or private keys.

Profile published 2026-10-29

What you can do with it

  • Map how integrations store and use credentials

When to use it

  • When preparing deployment and planning secret separation, rotation, or auditing

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Summarize what to record in a credential-management plan and remind me to provide only redacted configuration.

Monthly Trend

Downloads3.6K
2.3K3.0K3.6K2026-03 · Downloads 2.4K2026-05 · Downloads 2.9K2026-06 · Downloads 3.1K2026-07 · Downloads 3.3K2026-08 · Downloads 3.4K2026-09 · Downloads 3.6K26-0326-09
Stars2
1232026-03 · Stars 22026-05 · Stars 22026-06 · Stars 22026-07 · Stars 22026-08 · Stars 22026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.6K—2
2026-083.4K+2.7%2
2026-073.3K+7.1%2
2026-063.1K+4.9%2
2026-052.9K—2
2026-032.4K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.6 KB · ClawHub v1.0.0
---
name: api-credentials-hygiene
description: 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.
---

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

## PURPOSE
Audits and hardens API credential handling (env vars, separation, rotation plan, least privilege, auditability).
Show all (91 lines)
## WHEN TO USE
- TRIGGERS:
  - Harden the credentials setup for this integration and move secrets into env vars.
  - Design a key rotation plan for these APIs with minimal downtime.
  - Audit this service for least-privilege access and document what each key can do.
  - Create an environment variable map and a secure .env template for this project.
  - Set up credential separation for dev versus prod with clear audit trails.
- DO NOT USE WHEN…
  - You want to obtain keys without authorization or bypass security controls.
  - You need legal/compliance sign-off (this outputs technical documentation, not legal advice).

## INPUTS
- REQUIRED:
  - List of integrations/APIs and where credentials are currently stored/used.
  - Deployment context (local dev, server, container, n8n, etc.).
- OPTIONAL:
  - Current config files/redacted snippets (.env, compose, systemd, n8n creds list).
  - Org rules (rotation intervals, secret manager preference).
- EXAMPLES:
  - “Keys are hard-coded in a Node script and an n8n HTTP Request node.”
  - “We have dev and prod n8n instances and need separation.”

## OUTPUTS
- Credential map (service → env vars → scopes/permissions → owner → rotation cadence).
- Rotation runbook (steps + rollback).
- Least-privilege checklist and audit log plan.
- Optional: `.env` template (placeholders only).
Success = no secrets committed or embedded, permissions minimized, rotation steps documented, and auditability defined.


## WORKFLOW
1. Inventory credentials:
   - where stored, where used, and who owns them.
2. Define separation:
   - dev vs prod; human vs service accounts; per-integration boundaries.
3. Move secrets to env vars / secret manager references:
   - create an env var map and update config plan (no raw keys in code/workflows).
4. Least privilege:
   - for each API, enumerate required actions and reduce scopes/roles accordingly.
5. Rotation plan:
   - dual-key overlap if supported; steps to rotate with minimal downtime; rollback.
6. Auditability:
   - define what events are logged (auth failures, token refresh, key use where available).
7. STOP AND ASK THE USER if:
   - required operations are unknown,
   - secret injection method is unclear,
   - rotation cadence/owners are unspecified.


## OUTPUT FORMAT
Credential map template:

```text
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
- Never output real secrets, tokens, or private keys. Use placeholders.
- Read-only by default; propose changes as a plan unless explicitly asked to modify files.
- Avoid over-broad scopes/roles unless justified by a documented requirement.


## EXAMPLES
- Input: “n8n HTTP nodes contain API keys.”  
  Output: Env var map + plan to move to n8n credentials/env vars + rotation runbook.

- Input: “Need dev vs prod separation.”  
  Output: Two env maps + naming scheme + access boundary checklist.

Popular in IT Ops & Security

More from KOwl64

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.