DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Federated multi-account access for AWS CodeCommit

4 years ago aws.amazon.com
Federated multi-account access for AWS CodeCommit

Summary: This is a summary of an article originally published by AWS DevOps Blog. Read the full original article here →

As a developer working in a large enterprise or for a group that supports multiple products, you may often find yourself accessing Git repositories from different organizations. Currently, to securely access multiple Git repositories in other popular tools, you need SSH keys, GPG keys, a Git credential helper, and a significant amount of setup by the developer hoping to commit to the repository.

Combined with AWS Single Sign-On (AWS SSO) and git-remote-codecommit, you can quickly and easily switch between repositories owned by different groups or even managed in separate AWS accounts. You can control those permissions with AWS Identity and Access Management (IAM) roles to allow for the automated removal of the user’s permission as part of their off-boarding procedure for the company.

The following diagram shows the code access pattern you can achieve by using AWS SSO and git-remote-codecommit to access CodeCommit across multiple accounts.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com