Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

api-credentials-hygieneAPI credentials hygiene 文档

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

83,591

周安装

3,349

GitHub Stars

2

下载量

27,060
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:api-credentials-hygiene(API credentials hygiene 文档)
来源仓库:https://github.com/kowl64/api-credentials-hygiene
安装命令:
openclaw skills install api-credentials-hygiene
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install api-credentials-hygiene

简介

审核并强化 API 凭证处理(环境变量、分离、轮换计划、最小权限、可审核性)。在集成服务或准备必须安全管理机密的生产部署时使用。

SKILL.md

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).

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.

  1. Define separation:

- dev vs prod; human vs service accounts; per-integration boundaries.

  1. Move secrets to env vars / secret manager references:

- create an env var map and update config plan (no raw keys in code/workflows).

  1. Least privilege:

- for each API, enumerate required actions and reduce scopes/roles accordingly.

  1. Rotation plan:

- dual-key overlap if supported; steps to rotate with minimal downtime; rollback.

  1. Auditability:

- define what events are logged (auth failures, token refresh, key use where available).

  1. 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:

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.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.97%
按下载量换算19,746

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills