> 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.md).

# AWS: Remove Sprinto Access

Remove the access Sprinto was given in AWS. Covers every way Sprinto can be connected to AWS and the steps to take in AWS for each.

Use this guide to remove the access you gave Sprinto in AWS. These steps are done in AWS, not in Sprinto. To connect AWS to Sprinto again later, see [Amazon Web Services (AWS) Integration](https://docs.sprinto.com/integrations/overview/amazon-web-services-aws-integration.md) or [AWS GovCloud Integration](https://docs.sprinto.com/integrations/overview/aws-govcloud-integration.md).

## Which connection method did you use?

Sprinto can be connected to AWS in 7 ways. Find the method you used, then follow the steps in that section.

| Connection method                                                                       | How to tell                                                                                                                                                        |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [AWS GovCloud (access key, older setup)](#aws-govcloud-access-key-older-setup)          | The GovCloud connection was made by pasting an access key ID and secret access key instead of a role ARN.                                                          |
| [AWS GovCloud (CloudFormation script)](#aws-govcloud-cloudformation-script)             | The GovCloud account has a stack whose name starts with `create-sprinto-govcloud-auditor-role`.                                                                    |
| [AWS GovCloud (role created manually)](#aws-govcloud-role-created-manually)             | No Sprinto stack in the GovCloud account, but IAM has a role named `sprinto-govcloud-auditor-role`.                                                                |
| [AWS Organizations (role in each account)](#aws-organizations-role-in-each-account)     | Organization connection, but no Sprinto StackSet exists; each connected account has its own `create-sprinto-auditor-role…` stack or a `sprinto-auditor-role` role. |
| [AWS Organizations (StackSet)](#aws-organizations-stackset)                             | The management account (or a CloudFormation delegated administrator account) has a StackSet whose name starts with `create-sprinto-auditor-role-stack-set`.        |
| [Single AWS account (CloudFormation script)](#single-aws-account-cloudformation-script) | CloudFormation shows a stack whose name starts with `create-sprinto-auditor-role` (no `stack-set` in the name) in the account Sprinto was connected to.            |
| [Single AWS account (role created manually)](#single-aws-account-role-created-manually) | No Sprinto CloudFormation stack exists, but IAM has a role named `sprinto-auditor-role` (the name the manual steps asked for).                                     |

***

## AWS GovCloud (access key, older setup) <a href="#aws-govcloud-access-key-older-setup" id="aws-govcloud-access-key-older-setup"></a>

**Who must do this:** IAM administrator in the AWS GovCloud (US) account

**What gets removed:** The IAM access key you gave Sprinto and, if it was created only for Sprinto, its IAM user.

### Steps

1. Sign in to the AWS GovCloud (US) console at `https://console.amazonaws-us-gov.com` and open IAM. Enter the access key ID you gave Sprinto in the **IAM search** box to find its user, then open that user.
2. On the **Security credentials** tab, under Access keys, choose **Actions** → **Deactivate** for that key and confirm. AWS requires a key to be inactive before it can be deleted.
3. Choose **Actions** → **Delete** for the same key, enter the access key ID and choose **Delete**.
4. If the IAM user was created only for Sprinto, go to Users, select it, choose **Delete**, type the user name and choose **Delete**.
5. Optional: delete any saved copies of the key (downloaded `.csv` file, password manager or secrets manager entries). This doesn't affect reconnecting.

### Confirm it's removed

The access key no longer appears on the user's Security credentials tab (or the user no longer exists).

**Official guide:** [AWS IAM docs](https://docs.aws.amazon.com/IAM/latest/UserGuide/access-keys-admin-managed.html)

***

## AWS GovCloud (CloudFormation script) <a href="#aws-govcloud-cloudformation-script" id="aws-govcloud-cloudformation-script"></a>

**Who must do this:** IAM user or role in the AWS GovCloud (US) account with permission to delete CloudFormation stacks and IAM roles

**What gets removed:** The GovCloud CloudFormation stack and the auditor role it created.

### Steps

1. Sign in to the AWS GovCloud (US) console at `https://console.amazonaws-us-gov.com` with an IAM user or role and open CloudFormation in the GovCloud Region where you ran the setup command.
2. On Stacks, select the stack whose name starts with `create-sprinto-govcloud-auditor-role`, choose **Delete** and confirm **Delete**.
3. If the stack shows `DELETE_FAILED`, select it and choose **Retry delete**.
4. Open **IAM** → **Roles**, search for `sprinto-govcloud-auditor-role` and, if it is still listed, select it, choose **Delete**, type the role name and choose **Delete**.

### Confirm it's removed

No stack starting `create-sprinto-govcloud-auditor-role` and no role starting `sprinto-govcloud-auditor-role` in the GovCloud account.

**Official guide:** [AWS CloudFormation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-delete-stack.html)

***

## AWS GovCloud (role created manually) <a href="#aws-govcloud-role-created-manually" id="aws-govcloud-role-created-manually"></a>

**Who must do this:** IAM user or role in the AWS GovCloud (US) account with permission to delete IAM roles

**What gets removed:** The GovCloud IAM role you created by hand for Sprinto, with its inline policies.

### Steps

1. Sign in to the AWS GovCloud (US) console at `https://console.amazonaws-us-gov.com` with an IAM user or role and open **IAM** → **Roles**.
2. Search for `sprinto-govcloud-auditor-role` (or the role whose ARN you pasted into Sprinto).
3. Select the check box next to it, choose **Delete**, type the role name and choose **Delete**.
4. Search Roles for `sprinto` again and delete any other Sprinto auditor role you find.

### Confirm it's removed

IAM → Roles in the GovCloud account shows no `sprinto` auditor role.

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

***

## AWS Organizations (role in each account) <a href="#aws-organizations-role-in-each-account" id="aws-organizations-role-in-each-account"></a>

**Who must do this:** IAM administrator in the management account and in each connected member account

**What gets removed:** The auditor stack or role Sprinto's setup created separately in each connected account.

### Steps

1. Sign in to the management account and open CloudFormation in the Region where you ran Sprinto's setup command.
2. On Stacks, select the stack whose name starts with `create-sprinto-auditor-role`, choose **Delete** and confirm **Delete**. If it shows `DELETE_FAILED`, choose **Retry delete**.
3. Open **IAM** → **Roles**, search for `sprinto` and delete any remaining auditor role (select it, Delete, type the name, Delete). If you created the role by hand, it's named `sprinto-auditor-role`.
4. Repeat steps 1–3 in every member account you connected.

### Confirm it's removed

In every connected account, no stack starts with `create-sprinto-auditor-role` and IAM → Roles has no `sprinto` auditor role.

**Official guide:** [AWS CloudFormation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-delete-stack.html)

***

## AWS Organizations (StackSet) <a href="#aws-organizations-stackset" id="aws-organizations-stackset"></a>

**Who must do this:** Administrator of the AWS Organizations management account, or of the account registered as CloudFormation StackSets delegated administrator

**What gets removed:** The StackSet and the auditor role it deployed to every member account, plus the management account's own auditor stack.

### Steps

1. Sign in to the management account, or the CloudFormation delegated administrator account if the StackSet was created there. Open CloudFormation in the Region where you ran the setup commands.
2. Go to StackSets, select the StackSet whose name starts with `create-sprinto-auditor-role-stack-set` and choose **Actions** → **Delete stacks** from StackSet.
3. Under Organizational units (OUs) enter your organization root ID (`r-…`), choose Region **US East (N. Virginia)**, leave Retain stacks off, then choose **Next** → **Submit**. Wait until the **Stack instances** tab is empty.
4. Select the StackSet again, choose **Actions** → **Delete StackSet** and confirm **Delete StackSet**.
5. In the management account, go to Stacks and delete the stack whose name starts with `create-sprinto-auditor-role` (choose **Delete**, then Delete). If it shows `DELETE_FAILED`, choose **Retry delete**.
6. In **IAM** → **Roles** of the management account (and one member account to spot-check), search for `sprinto` and delete any auditor role still listed.

### Confirm it's removed

No StackSet starting `create-sprinto-auditor-role-stack-set`, no stack starting `create-sprinto-auditor-role`, and no `sprinto` auditor role in IAM of the management or member accounts.

{% hint style="warning" %}
Leave Retain stacks off: if it's on, the auditor role stays in every member account.
{% endhint %}

**Official guide:** [AWS CloudFormation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stackinstances-delete.html)

***

## Single AWS account (CloudFormation script) <a href="#single-aws-account-cloudformation-script" id="single-aws-account-cloudformation-script"></a>

**Who must do this:** AWS IAM user or role in that account with permission to delete CloudFormation stacks and IAM roles (for example AdministratorAccess)

**What gets removed:** The CloudFormation stack Sprinto's setup script created and the IAM auditor role it holds.

### Steps

1. Sign in to the AWS account you connected and open the CloudFormation console. In the Region selector, choose the Region where you ran Sprinto's setup command in CloudShell.
2. On the **Stacks** page, select the stack whose name starts with `create-sprinto-auditor-role`, choose **Delete**, then choose **Delete** again to confirm.
3. Wait for the status `DELETE_COMPLETE`. If it shows `DELETE_FAILED`, select the stack, choose **Retry delete** and run it, then continue with step 4 to remove anything left behind.
4. Open the IAM console → **Roles** and search for `sprinto`. If a role whose name starts with `sprinto-auditor-role` or `create-sprinto-auditor-role` is still listed, select it, choose **Delete**, type the role name and choose **Delete**.

### Confirm it's removed

In CloudFormation no active stack starts with `create-sprinto-auditor-role`, and searching IAM → Roles for `sprinto` returns no auditor role.

**Official guide:** [AWS CloudFormation docs](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-delete-stack.html)

***

## Single AWS account (role created manually) <a href="#single-aws-account-role-created-manually" id="single-aws-account-role-created-manually"></a>

**Who must do this:** AWS IAM user or role with permission to delete IAM roles (for example AdministratorAccess or IAMFullAccess)

**What gets removed:** The IAM role you created by hand for Sprinto, with its inline policies.

### Steps

1. Sign in to the AWS account you connected and open the IAM console → **Roles**.
2. Search for `sprinto-auditor-role`. If you gave the role another name, find the role whose ARN you pasted into Sprinto (its trust relationship names AWS account `001360870653`).
3. Select the check box next to the role, choose **Delete**, type the role name in the confirmation box and choose **Delete**. Inline policies you added are deleted with it.
4. Search Roles for `sprinto` again and delete any other Sprinto auditor role left from an earlier setup.

### Confirm it's removed

Searching IAM → Roles for `sprinto` returns no auditor role.

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