Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

credential-manager

bởi callmedas69

Security & Passwords
2.5kLượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

MANDATORY security foundation for OpenClaw.

Mô tả

Kỹ năng này làm gì

Consolidates scattered API keys and credentials into a single ~/.openclaw/.env file with mode 600 permissions. Scans common config locations, backs up existing files with timestamps, merges everything, and validates the result. Other OpenClaw skills use it as a security gate before loading any credentials.

Enforces a single git-ignored file with mode 600 rather than leaving credentials spread across config directories where permissions and git-ignore status vary per file.

Khi nào nên dùng

  • Setting up OpenClaw on a new machine for the first time
  • Migrating credentials from multiple scattered config files
  • Auditing credential security before sharing a workstation
  • Fixing a skill that fails because credentials are in the wrong location
  • Cleaning up old credential files after consolidation

Quy trình ví dụ

ĐẦU VÀO

User asks: Migrate my scattered API credentials to a secure location

AGENT
  1. 1

    Run scan.py to discover credential files in ~/.config, ~/.openclaw/workspace/memory, and other common paths

  2. 2

    Run consolidate.py to back up existing files with timestamps and merge into ~/.openclaw/.env

  3. 3

    Set ~/.openclaw/.env permissions to mode 600

  4. 4

    Run validate.py to confirm permissions, format, and git-ignore protection

  5. 5

    Run cleanup.py --confirm to remove old credential files while preserving backups

ĐẦU RA

All credentials unified in ~/.openclaw/.env (mode 600), old files backed up under ~/.openclaw/backups/, .gitignore updated

Cài đặt

clawhub install callmedas69/credential-manager

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết