There are two ways to access AWS environments.
1) Console Access
2) Programmatic Access
1) Console Access is when you access to AWS portal with your username and password. The GUI interface
2) In Programmatic Access, you are accessing AWS resources using Command lines, Powershell or SDKs.
-> With Programmatic Access, you are accessing using Access Key ID and Secret Access Keys.
Access Key ID and Secret Access Keys are different from your username and password.
When you create your first AWS account, Access Key ID and Secret Access Keys are also created.
It is important to secure or disable them, and not share these Access Key ID and Secret Access Keys otherwise this will give you the root access to your AWS account.
The best practice would be to create a new user and give specific permissions rather than using the root account.
AWS STS Security Token Service is another way to create a temporary, Limited-privileges credentials to IAM users.
To Disable Access Key, navigate to Identity and Access Management (IAM) under Services. > Manage Access Keys.
Disabling this is one way to secure the account, if programmatic access is not required.
Teza