secrets-management
できること
このツールは、ソフトウェア開発などで使われる自動化システム向けに、パスワードやアクセスキーを安全に管理するのに役立ちます。機密情報にアクセスできるのは、適切なプログラムだけになるようにします。
使う場面
- ✓アプリケーションからデータベースに安全にアクセスできるよう設定するとき。
- ✓自動化システムにタスクの実行権限を与えるとき。
- ✓パスワードを定期的に変更する方法を計画するとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/secrets-management/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“アプリケーションがサービスXのAPIキーを使えるように、安全なアクセス設定をするにはどうすればよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、パスワードを保存する安全な場所(VaultやクラウドサービスなどAPI)を選びます。誰が何にアクセスできるかを定義し、データを露出させることなくパスワードを更新する方法も決めます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Secrets Management
When to Use
Design or repair secret retrieval, CI credentials, workload identity, access policies and rotation for an authorized system.
Inputs
Identify secret names and owners, consumers, environments, authentication mechanism and the rotation/recovery policy. Inspect configuration without displaying values.
Procedure
- Choose the existing supported backend: Vault, a cloud secret manager or the host's protected secret store. Keep environment boundaries and minimum privileges explicit.
- For Vault, read
references/vault-setup.md. Development mode and root tokens are not production configuration. - For GitHub Actions, read
references/github-secrets.md. Keep pull-request validation separate from privileged jobs. Supply values to the consuming process, never interpolate them into generated shell source or print them for debugging. - Prefer short-lived workload identity when the backend supports it. Check issuer, audience, workload/environment restrictions and denied access before enabling retrieval.
- Rotate through prepare, consumer switch, verification and old-credential revocation. Use the backend's supported rotation protocol; retries must not leave the database and secret store on different credentials.
- Inspect logs, error paths, artifacts and crash reports with synthetic secret markers. Record metadata such as operation, principal and outcome rather than values.
Example
A deployment needs a database credential. The trusted job retrieves it through the configured identity and passes it only to the migration process. Test missing access and an expired identity in staging. Verify no credential appears in output, and that a failed rotation leaves a recoverable working state.
Verification
- Authorized retrieval succeeds; a different workload or environment is denied.
- Missing credentials fail closed without exposing values.
- Rotation and rollback are exercised with synthetic data.
- Logs and artifacts contain no secret markers, including on failure.
- Exposed credentials are revoked or rotated; merely deleting their log entry is insufficient.
Limitations
Masking cannot make logging secrets safe. Secret data can persist in infrastructure state, subprocess environments or backups; review those boundaries explicitly. Do not alter real credentials or deploy secret infrastructure without authorization.
Sources
よくある質問
「シークレット」とは何ですか?
パスワード、APIキー、証明書など、保護が必要な機密情報のことです。
パスワードをコードに直接書いてはいけないのはなぜですか?
コードに直接パスワードを書くのは非常に危険です。許可されていない人にコードを見られると、パスワードも一緒に知られてしまい、セキュリティが損なわれます。
「シークレットのローテーション」とは何ですか?
パスワードやキーを定期的に新しいものに変更することです。古いパスワードが漏えいした場合のリスクを減らせます。
詳細
作者による元の説明
Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other tools.
人気
- GitHubのスター
- 48k
- ランキング
- #5692
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。