I have not used AWS Amplify for a few years and last time I used it I save the profile in a CSV file and it has the following fields in it.
I'm setting up Amplify again on a new machine and I'm wonder if I should just add this configuratino to a config file as described here.
In other words save the contents of the CSV file into ~/.aws/config.
Or is there a more "Updated" way of doing it?

OK - Since it's a new machine I first had to reinstall the amplify CLI.
Then add the amplify credentials again.
In order to do this I first create a new Angular project ran
amplify initfrom the root project directory folder.It outputs the following.
Then for authentication method it asks this:
I selected
AWS profile.It then asks whether we want to setup a new user. I said no.
It then asks for credentials.
The amplify setup is now restored using the saved credentials.