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.
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
Sign in to the AWS GovCloud (US) console at
https://console.amazonaws-us-gov.comand open IAM. Enter the access key ID you gave Sprinto in the IAM search box to find its user, then open that user.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.
Choose Actions → Delete for the same key, enter the access key ID and choose Delete.
If the IAM user was created only for Sprinto, go to Users, select it, choose Delete, type the user name and choose Delete.
Optional: delete any saved copies of the key (downloaded
.csvfile, 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
Sign in to the AWS GovCloud (US) console at
https://console.amazonaws-us-gov.comwith an IAM user or role and open CloudFormation in the GovCloud Region where you ran the setup command.On Stacks, select the stack whose name starts with
create-sprinto-govcloud-auditor-role, choose Delete and confirm Delete.If the stack shows
DELETE_FAILED, select it and choose Retry delete.Open IAM → Roles, search for
sprinto-govcloud-auditor-roleand, 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
Sign in to the AWS GovCloud (US) console at
https://console.amazonaws-us-gov.comwith an IAM user or role and open IAM → Roles.Search for
sprinto-govcloud-auditor-role(or the role whose ARN you pasted into Sprinto).Select the check box next to it, choose Delete, type the role name and choose Delete.
Search Roles for
sprintoagain 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
Sign in to the management account and open CloudFormation in the Region where you ran Sprinto's setup command.
On Stacks, select the stack whose name starts with
create-sprinto-auditor-role, choose Delete and confirm Delete. If it showsDELETE_FAILED, choose Retry delete.Open IAM → Roles, search for
sprintoand delete any remaining auditor role (select it, Delete, type the name, Delete). If you created the role by hand, it's namedsprinto-auditor-role.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
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.
Go to StackSets, select the StackSet whose name starts with
create-sprinto-auditor-role-stack-setand choose Actions → Delete stacks from StackSet.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.Select the StackSet again, choose Actions → Delete StackSet and confirm Delete StackSet.
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 showsDELETE_FAILED, choose Retry delete.In IAM → Roles of the management account (and one member account to spot-check), search for
sprintoand 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
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.
On the Stacks page, select the stack whose name starts with
create-sprinto-auditor-role, choose Delete, then choose Delete again to confirm.Wait for the status
DELETE_COMPLETE. If it showsDELETE_FAILED, select the stack, choose Retry delete and run it, then continue with step 4 to remove anything left behind.Open the IAM console → Roles and search for
sprinto. If a role whose name starts withsprinto-auditor-roleorcreate-sprinto-auditor-roleis 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
Sign in to the AWS account you connected and open the IAM console → Roles.
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 account001360870653).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.
Search Roles for
sprintoagain 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

