AWS CodeCommit: Remove Sprinto Access
Remove the access Sprinto was given in AWS CodeCommit. Covers every way Sprinto can be connected to AWS CodeCommit and the steps to take in AWS CodeCommit for each.
Use this guide to remove the access you gave Sprinto in AWS CodeCommit. These steps are done in AWS CodeCommit, not in Sprinto. To connect AWS CodeCommit to Sprinto again later, see AWS CodeCommit Integration.
IAM role for CodeCommit
How to tell: IAM in the account that hosts your CodeCommit repositories has a role named sprinto-codecommit-role.
Who must do this: AWS IAM user or role with permission to delete IAM roles in that account
What gets removed: The IAM role you created for Sprinto to read CodeCommit, with any inline policies on it.
Steps
Sign in to the AWS account that hosts your CodeCommit repositories and open the IAM console → Roles.
Search for
sprinto-codecommit-role(or the role whose ARN you pasted into Sprinto; it trusts AWS account001360870653).Select the check box next to it, choose Delete, type the role name and choose Delete. The
AWSCodeCommitReadOnlypolicy is detached and any inline policy you added is deleted with the role.Search Roles for
sprintoagain to confirm no CodeCommit role is left.
Confirm it's removed
Searching IAM → Roles for sprinto-codecommit-role returns nothing.
Official guide: AWS IAM docs

