Enterprise-CMCS / macpro-platform-doc-conversion

Other
2 stars 0 forks source link

Implement OIDC authentication for GitHub Actions #68

Closed mdial89f closed 2 years ago

mdial89f commented 2 years ago

Purpose

This changes how GitHub Actions authenticates to AWS. Instead of using an IAM service user's access key pair, GitHub Actions will now use OIDC to assume a role in the correct account. This is a more secure method of authenticating from GitHub to AWS.

Linked Issues to Close

Closes https://qmacbis.atlassian.net/browse/OY2-18470?atlOrigin=eyJpIjoiZDJhMWJlYWNjMGFhNDJlYThkMDg1M2U4ZGY0OTVjOWMiLCJwIjoiaiJ9

Approach

This changeset and its approach is simply an implementation of functionality shared to the quickstart by Brandon Bodnar. See: https://github.com/CMSgov/macpro-quickstart-serverless/pull/542 for more detail. In short: this is a more secure way to authenticate from GitHub to AWS, and it requires less maintenance.

Learning

N/A

Assorted Notes/Considerations

N/A

Pull Request Creator Checklist

Pull Request Reviewer/Assignee Checklist