Deleting unnecessary root access keys
Once you have credentials from the Credential Factory or are logged into an EC2 instance from the Instance Factory, verify that you can run substrate assume-role -management
. If so, you can finally delete your root and OrganizationAdministrator access keys. They're simply security liabilities. Let's delete them:
Run
substrate delete-static-access-keys
to delete access keys for the OrganizationAdministrator IAM user in your management accountVisit https://console.aws.amazon.com/iam/home#/security_credentials while signed in using the root email address, password, and second factor on your management account
Scroll to the Access keys section
Select your root access key
Click Actions
Click Delete
Click Deactivate
Paste the access key ID into the confirmation prompt
Click Delete
From now on, the Credential and Instance Factories are how you access your organization via the command line.
Last updated