Hi Tingyao,
The AWS CLI should be your friend here in terms of getting your credentials programmatically (no need to copy-paste things repeatedly) but you can also just copy-paste them from your account, although exactly where you’ll find that information will vary.
Just so I have a better idea of your setup, when you log in to AWS are you going through as a Root User or IAM User?