> For the complete documentation index, see [llms.txt](https://docs.sprinto.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinto.com/integrations/remove-integration-access/aws-codecommit.md).

# 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](https://docs.sprinto.com/integrations/overview/aws-codecommit-integration.md).

***

## IAM role for CodeCommit <a href="#iam-role-for-codecommit" id="iam-role-for-codecommit"></a>

**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

1. Sign in to the AWS account that hosts your CodeCommit repositories and open the IAM console → **Roles**.
2. Search for `sprinto-codecommit-role` (or the role whose ARN you pasted into Sprinto; it trusts AWS account `001360870653`).
3. Select the check box next to it, choose **Delete**, type the role name and choose **Delete**. The `AWSCodeCommitReadOnly` policy is detached and any inline policy you added is deleted with the role.
4. Search Roles for `sprinto` again to confirm no CodeCommit role is left.

### Confirm it's removed

Searching IAM → Roles for `sprinto-codecommit-role` returns nothing.

{% hint style="warning" %}
If you also gave Sprinto's code scanning (SLScan) S3 access on this role, deleting it stops that scanning setup too.
{% endhint %}

**Official guide:** [AWS IAM docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_manage_delete.html)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sprinto.com/integrations/remove-integration-access/aws-codecommit.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
