Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wtfjoke/aws-gh-oidc

Demonstrate a secure connection to aws from github without storing any credentials in the repository
https://github.com/wtfjoke/aws-gh-oidc

aws github-oidc

Last synced: 9 days ago
JSON representation

Demonstrate a secure connection to aws from github without storing any credentials in the repository

Awesome Lists containing this project

README

        

# aws-gh-oidc

Demonstrate a secure connection to aws from github without storing any credentials in the repository.
It allows accessing aws resources using the github action `aws-actions/configure-aws-credentials@v1` without storing any secrets (like `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` ) in the repository itself. Read more in the [Blogpost](https://www.codecentric.de/wissens-hub/blog/secretless-connections-from-github-actions-to-aws-using-oidc) here

![GithubAWSOIDC](https://user-images.githubusercontent.com/7139697/169553855-2e76a7be-f0c4-44c1-9630-227574241463.png)

### Requirements

- [AWS CLI](https://aws.amazon.com/de/cli/)
- For infrastructure either:
- [Terraform CLI](https://www.terraform.io/downloads) 1.1.4 or newer (if you want to create infrastructure using terraform)
- [AWS CDK](https://docs.aws.amazon.com/cdk/v2/guide/home.html) v2 or newer (if you want to create infrastructure using aws cdk)

### Infrastructure

See [Infrastructure Readme](infra/README.md)