FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
GitHub Actions OIDC with AWS: complete zero-credential setup
How-ToDevOps

GitHub Actions OIDC with AWS: complete zero-credential setup

via Dev.to DevOpsYash3w ago

GitHub Actions OIDC with AWS: complete zero-credential setup Stop storing AWS access keys as GitHub secrets. Here's the full setup. Why OIDC wins Old: AWS_ACCESS_KEY_ID stored forever, rotated manually (or never) Risk: leaked key = full account access until manually revoked OIDC: No stored credentials. Token per-job, expires when job ends. Risk: compromised token expires in minutes Audit: exact repo, branch, job logged in CloudTrail Step 1: OIDC provider (Terraform) resource "aws_iam_openid_connect_provider" "github" { url = "https://token.actions.githubusercontent.com" client_id_list = [ "sts.amazonaws.com" ] thumbprint_list = [ "6938fd4d98bab03faadb97b34396831e3780aea1" ] } Step 2: IAM role with trust policy resource "aws_iam_role" "github_actions" { name = "github-actions-deploy" assume_role_policy = jsonencode ({ Version = "2012-10-17" Statement = [{ Effect = "Allow" Principal = { Federated = aws_iam_openid_connect_provider . github . arn } Action = "sts:AssumeRoleWithWebIdentity"

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
15 views

Related Articles

The Art of Motivation and Inspiration ✨
How-To

The Art of Motivation and Inspiration ✨

Medium Programming • 1w ago

When Understanding Comes Later
How-To

When Understanding Comes Later

Medium Programming • 1w ago

Top 10 Skills Every Developer Must Learn in 2026
How-To

Top 10 Skills Every Developer Must Learn in 2026

Medium Programming • 1w ago

If you are using context.Context Like this, You-re doing it wrong
How-To

If you are using context.Context Like this, You-re doing it wrong

Medium Programming • 1w ago

How to Simulate Billiards and Similar Systems
How-To

How to Simulate Billiards and Similar Systems

Dev.to • 1w ago

Discover More Articles