AWS in 2025 released what Cloud security engineers call "a more-secure solution for the root accounts". In a nut-shell, before now each AWS account that is part of an AWS Organization has a root account that are assigned to the account that has absolute control/access to all AWS services and resources in those account.
# Open your $PROFILE fileNotepad$PROFILE# If you don't have a $PROFILE, you can create one using;if(!(Test-Path-Path$PROFILE)){New-Item-TypeFile-Path$PROFILE-Force}# Add the below code block to the $PROFILE and save.Register-ArgumentCompleter-Native-CommandNameaws-ScriptBlock{param($commandName,$wordToComplete,$cursorPosition)$env:COMP_LINE=$wordToCompleteif($env:COMP_LINE.Length-lt$cursorPosition){$env:COMP_LINE=$env:COMP_LINE+" "}$env:COMP_POINT=$cursorPositionaws_completer.exe|ForEach-Object{[System.Management.Automation.CompletionResult]::new($_,$_,'ParameterValue',$_)}Remove-ItemEnv:\COMP_LINERemove-ItemEnv:\COMP_POINT}