secrets-management
ما الذي تفعله
تساعد هذه المهارة على إدارة كلمات المرور ومفاتيح الوصول للأنظمة المؤتمتة، مثل تلك المستخدمة في تطوير البرمجيات، بأمان. تضمن أن البرامج المصرّح لها فقط تصل إلى المعلومات الحساسة.
متى تستخدمها
- ✓عندما تعدّ وصولًا آمنًا لقاعدة بيانات لتطبيق.
- ✓عندما تمنح نظامًا مؤتمتًا إذنًا لتنفيذ المهام.
- ✓عندما تخطط لطريقة تغيير كلمات المرور بشكل دوري.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/secrets-management/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف أعدّ وصولًا آمنًا حتى يستطيع تطبيقي استخدام مفتاح API الخاص بالخدمة X؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تختار المهارة مكانًا آمنًا لحفظ كلمات المرور، مثل Vault أو خدمة سحابية. وتحدد من يستطيع الوصول إلى ماذا، وكيف تُحدَّث كلمات المرور دون كشف البيانات.
المحتوى التقني (ملف 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
الأسئلة الشائعة
ما هي «الأسرار» (secrets)؟
هي معلومات حساسة مثل كلمات المرور ومفاتيح API أو الشهادات، ويجب حمايتها.
لماذا لا أضع كلمة المرور داخل الكود مباشرة؟
وضع كلمات المرور في الكود خطر كبير. إذا اطّلع عليه شخص غير مصرّح له، ستُكشف كلمة المرور أيضًا وتُعرّض الأمان للخطر.
ما هو «تدوير الأسرار» (secret rotation)؟
هو تغيير كلمات المرور أو المفاتيح بشكل دوري بأخرى جديدة. وهذا يقلل الخطر إذا تعرضت القديمة للاختراق.
التفاصيل
الوصف الأصلي من المؤلف
Secure secrets management practices for CI/CD pipelines using Vault, AWS Secrets Manager, and other tools.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #5692
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.