Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Malware / Trojaner / Viren3 Cyber Threats That Defined the Summer of 2026(24.09.2026 um 16:44 Uhr)
IT Security NachrichtenMeta testet menschliche Assistenten für Muse(24.09.2026 um 17:09 Uhr)
IT Security NachrichtenTui Airlines nehmen Vertriebsplattform von Airxelerate in Betrieb(24.09.2026 um 13:32 Uhr)
Malware / Trojaner / Viren3 Cyber Threats That Defined the Summer of 2026(24.09.2026 um 16:44 Uhr)
IT Security NachrichtenMeta testet menschliche Assistenten für Muse(24.09.2026 um 17:09 Uhr)
IT Security NachrichtenTui Airlines nehmen Vertriebsplattform von Airxelerate in Betrieb(24.09.2026 um 13:32 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Creating an AWS IAM Role with GitHub as a Web Identity Provider

To enable your GitHub Actions workflows to securely interact with AWS services, you can set up OIDC (OpenID Connect) authentication. By configuring GitHub as a Web Identity Provider, you can create an IAM role that GitHub Actions can…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

To enable your GitHub Actions workflows to securely interact with AWS services, you can set up OIDC (OpenID Connect) authentication. By configuring GitHub as a Web Identity Provider, you can create an IAM role that GitHub Actions can assume without needing AWS credentials. Here's how you can set this up.






Step 1: Sign in to AWS Management Console




  • Go to the AWS IAM Console.

  • Make sure you have the necessary permissions to manage IAM resources.






Step 2: Navigate to Identity Providers




  • In the left sidebar, click on Identity providers under Access management.






Step 3: Add a New Identity Provider




  • Click on the Add provider button.

  • Select OpenID Connect for the provider type.


  • Web Identity Provider URL: Enter https://token.actions.githubusercontent.com.


  • Audience: Enter sts.amazonaws.com.






Step 4: Create an IAM Role for GitHub Actions




  • After configuring the identity provider, create a new IAM Role.

  • Go to the Roles section and click Create role.

  • Select Web Identity as the trusted entity type.

  • Under Identity provider, select the GitHub identity provider you just created.

  • For Audience, enter sts.amazonaws.com.

  • You can mention the Github Org name and repository name for fine gain access control.






Step 4: Define the Trust Relationship for the Role




  • GitHub Actions workflows will assume this role using the trust policy. Here's an example of the trust policy you can use:



Here’s an example trust policy:




{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "sts:AssumeRoleWithWebIdentity",
"Principal": {
"Federated": "arn:aws:iam::<account-id>:oidc-provider/token.actions.githubusercontent.com"
},
"Condition": {
"StringEquals": {
"token.actions.githubusercontent.com:aud": [
"sts.amazonaws.com"
]
},
"StringLike": {
"token.actions.githubusercontent.com:sub": [
"repo:<owner>/<repo>"
]
}
}
}
]
}







  • Replace <account-id> with your AWS account ID.

  • Replace <owner> and <repo> with your GitHub repository's owner and name.






Step 5: Attach Permissions to the IAM Role




  • Add the necessary permissions for the role. These permissions define what resources the GitHub Actions workflow can access (e.g., deploy code, interact with AWS services).






Step 6: Review and Create the Role




  • Review your settings, and click Create role. The IAM role is now ready to be used by your GitHub Actions workflows.






Step 7: Configure GitHub Actions Workflow




  • In your GitHub Actions workflow file (.github/workflows/your-workflow.yml), add a step to configure AWS credentials using the role you've created.



Here's an example of the step to configure AWS credentials:




- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::<account-id>:role/<role-name>
role-duration-seconds: 3600
aws-region: <aws-region>









Conclusion



Now your GitHub Actions workflow can securely interact with AWS services using OIDC authentication, eliminating the need for static access keys. By following these steps, you'll enhance security and streamline the process of automating deployments and other tasks.



Happy provisioning!

SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - Creating an AWS IAM Role with GitHub as a Web Identity Provider
id: 95f6ef22-afda-4f58-8860-1c79d763fdbe
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Creating an AWS IAM Role with " ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Creating an AWS IAM Role with GitHub as .... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Creating an AWS IAM Role with GitHub as a Web Identity Provider

Thematisch verwandte Begriffe: Creating, Role, with, GitHub · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97360 | HFS2 version 2.4.0 and earlier contains an unauthenticated arbitrary fil…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick