⚡
Do Step 1 first. Revoking access from AWS side is the most important step — it immediately blocks all API calls regardless of what CostSave does. Step 2 (removing from CostSave) cleans up stored data.
Step 1
Delete the CloudFormation stack (AWS side)
This deletes the cross-account IAM Role. CostSave's sts:AssumeRole calls will immediately fail.
1Open AWS Console → search for CloudFormation
2Find the stack named CostSaveRole (or similar) → select it
3Click Delete → confirm → wait for status to show DELETE_COMPLETE
AWS CloudFormation → Stacks → CostSaveRole
CostSaveRoleCREATE_COMPLETEDelete ▾
→ Select stack → Click Delete → Confirm
✓
Role deleted. The IAM Role no longer exists. CostSave cannot assume it.
Step 2
Remove the account from CostSave
This permanently deletes all scan history, resource data, and stored credentials from our database.
1Log in to CostSave → go to your accounts list
2Find the AWS account → click ⚙ Manage → Remove Account
3Confirm — all scan results, cost history, and encrypted credentials are permanently deleted
CostSave → Accounts → Manage → Remove Account
production-accountLast scanned 2h ago⚙ Manage
→ Manage → Remove Account → Confirm
✓
All data deleted. Encrypted credentials and all scan results are permanently removed from our database.
Check IAM → Roles
Search for "CostSave" in IAM → Roles. The role should not appear after the CloudFormation stack is deleted.
Check CloudTrail
Go to CloudTrail → Event History → filter by the old role name. After deletion, no new CostSave events should appear.
Does removing from CostSave also revoke AWS access?
No. Removing from CostSave only deletes our stored copy of the Role ARN. You must also delete the CloudFormation stack from AWS (Step 1) to fully revoke access.
What if I only want to pause scanning temporarily?
You don't need to disconnect. Simply don't run a scan — the IAM Role only gives access when CostSave actively calls it. No background polling happens.
Can CostSave still access my account after credentials are deleted from the DB?
No. Without the Role ARN, CostSave has no way to authenticate. Every scan requires fetching credentials from the database — they are not cached anywhere else.
I want to delete my entire CostSave account
Log in to CostSave → Settings → Danger Zone → Delete My Account. Verify with OTP. All data is permanently erased. Complete Step 1 first to also revoke AWS access.