Skip to main content
Cloud Automation10 min read

GitHub OIDC → AWS (कोई दीर्घकालिक कुंजी नहीं): क्लाउड ऑटोमेशन सही तरीका

AWS IAM भूमिका ग्रहण करने और AWS कुंजियाँ संग्रहीत किए बिना आर्टिफैक्ट तैनात/अपलोड करने के लिए GitHub Actions OIDC का उपयोग कैसे करें। इसमें न्यूनतम-विशेषाधिकार IAM, विश्वास नीति पैटर्न और समस्या निवारण युक्तियाँ शामिल हैं।

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

CI में स्थिर AWS कुंजियाँ एक खतरनाक हथियार हैं।

यदि आप ऐसा क्लाउड ऑटोमेशन चाहते हैं जो स्केल करे (और सुरक्षा समीक्षा पास करे), तो OIDC-आधारित फेडरेशन का उपयोग करें:

  • GitHub Actions एक अल्पकालिक पहचान टोकन (OIDC) जारी करता है
  • AWS STS इसे अल्पकालिक AWS क्रेडेंशियल्स के लिए विनिमय करता है
  • आपका वर्कफ़्लो न्यूनतम-विशेषाधिकार भूमिका ग्रहण करता है और कार्य करता है

यह पोर्टफोलियो Cloud telemetry mode (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