Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 or AWS GovCloud Integration.

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

The GovCloud connection was made by pasting an access key ID and secret access key instead of a role ARN.

The GovCloud account has a stack whose name starts with create-sprinto-govcloud-auditor-role.

No Sprinto stack in the GovCloud account, but IAM has a role named sprinto-govcloud-auditor-role.

Organization connection, but no Sprinto StackSet exists; each connected account has its own create-sprinto-auditor-role… stack or a sprinto-auditor-role role.

The management account (or a CloudFormation delegated administrator account) has a StackSet whose name starts with create-sprinto-auditor-role-stack-set.

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.

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)

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


AWS GovCloud (CloudFormation script)

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


AWS GovCloud (role created manually)

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


AWS Organizations (role in each account)

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


AWS Organizations (StackSet)

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.

Official guide: AWS CloudFormation docs


Single AWS account (CloudFormation script)

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


Single AWS account (role created manually)

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