Complete a 3 Question Survey and Earn a re:Post Badge
Help improve AWS Support Official channel in re:Post and share your experience - complete a quick three-question survey to earn a re:Post badge!
Problems configuring credentials for AWS CLI
0
I use a federated identity via IAM Identity Centre, and I'm running into all sorts of problems when using AWS CLI. I have run the following commands:
aws sso configure
aws sso login --profile [profilename]
But certain commands return "expired token" errors, even though I've just logged in. I can't clone or work with CodeCommit repositories, as a Git Credentails Manager window keeps popping up asking for username and password. I have tried several troubleshooting steps, manually changed the config file to make sure it exactly matches the required format, but nothing works. Any help will be greatly appreciated.
I have done all these steps. The problem is, the moment I try to clone my codecommit repo, I start getting a pop up window Git Credential Manager asking for username and password to access the repo. It seems somehow my AWS credentials are not getting passed over to Git Credential Manager.
I have done all these steps. The problem is, the moment I try to clone my codecommit repo, I start getting a pop up window Git Credential Manager asking for username and password to access the repo. It seems somehow my AWS credentials are not getting passed over to Git Credential Manager.