Skip to main content
Cloud Automation10 min read

GitHub OIDC → AWS (بدون مفاتيح طويلة الأمد): أتمتة السحابة بالطريقة الصحيحة

كيفية استخدام GitHub Actions OIDC لافتراض دور AWS IAM ونشر/رفع القطع الأثرية دون تخزين مفاتيح AWS. يتضمن IAM بأقل صلاحية، أنماط سياسة الثقة، ونصائح لاستكشاف الأخطاء وإصلاحها.

Part ofCloud & Infrastructure->
By Jason TeixeiraJanuary 10, 2026
AWSIAMOIDCGitHub ActionsTerraformSecurity
Share:
On this page

المفاتيح الثابتة لـ AWS في بيئة CI هي قنبلة موقوتة.

إذا كنت تريد أتمتة سحابية قابلة للتوسع (وتجتاز مراجعة الأمان)، استخدم الاتحاد القائم على OIDC:

  • تصدر GitHub Actions رمز هوية قصير الأمد (OIDC)
  • يقوم AWS STS بتبادله مقابل بيانات اعتماد AWS قصيرة الأمد
  • يفترض سير عملك دورًا بأقل الصلاحيات اللازمة وينفذ المهمة

تستخدم هذه المحفظة نفس النمط لدعم وضع التتبع السحابي (AWS S3) دون تضمين بيانات اعتماد طويلة الأمد مطلقًا.

البنية المعمارية

\

Reader route

article -> proof -> offer

ReadClusterProofScope

cluster

Cloud & Infrastructure

intent

Cloud Automation

route

next step

What to do with this

Turn the note into a build path.

If this topic maps to a real business problem, keep reading the cluster, study the academy path, or route the work into a scoped engagement.

Jason Teixeira
Written by
Jason Teixeira
Founder, Sage Ideas Studio · Principal Engineer
livebuild 5d6c8652026-08-05 06:00Z
// solo studio// no analytics resold// every commit human-reviewed