secrets-get
Get credentials securely with masking
- License 许可
- MIT
- 所属仓库
- cooneycw/skillc
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- secrets-get
- description
- Get credentials securely with masking
03 SKILL.md 正文
<!-- GENERATED by claude-power-pack - scripts/codex-skill-sync.py; edit .claude/commands/secrets/get.md instead -->
Get Credentials
Retrieve credentials from the configured provider with automatic masking.
Usage
/secrets-get [secret_id] [--provider aws|env] [--json]
Arguments
secret_id- Secret identifier (default: "DB")- For env provider: variable prefix (e.g., "DB" looks for DB_HOST, etc.)
- For AWS: secret name or ARN
--provider- Force specific provider (aws or env)--json- Output as JSON (masked)
Process
- Detect available provider (env first, then AWS)
- Retrieve credentials using the secrets module
- Display masked summary (never shows real passwords)
- Optionally output as JSON for scripting
Example Output
Provider: env-file
Secret ID: DB
Host: localhost
Port: 5432
Database: myapp_dev
Username: developer
Password: ****
Connection String: postgresql://developer:****@localhost:5432/myapp_dev
Security Notes
- Actual secret values are NEVER displayed
- Connection strings show
****for passwords - Use the Python API for actual connections:
creds = get_credentials() conn = await asyncpg.connect(**creds.dsn) # dsn has real password
Run Command
PYTHONPATH="${HOME}/Projects/claude-power-pack" uv run --project "${HOME}/Projects/claude-power-pack" python -m lib.creds get "$@"
04 同仓库更多 Skills
tiny-check
Run the tiny project check
tiny-check
A synthetic gate selection fixture.
flow-check
Use when you are asked to run a project's quality checks (tests, lint, type checks, security scan): runs them in one step and reports what failed, without committing.
flow-check
Use when you are asked to run a project's quality checks (tests, lint, type checks, security scan): runs them in one step and reports what failed, without committing.
flow-check
Use when you are asked to run a project's quality checks (tests, lint, type checks, security scan): runs them in one step and reports what failed, without committing.
flow-check
Use when you are asked to run a project's quality checks (tests, lint, type checks, security scan): runs them in one step and reports what failed, without committing.