Fixing "No Credentials Found" when using AWS SSO Profiles in Zsh

📰 Dev.to · nareshipme

Fix AWS SSO login issues in Zsh by checking credential files and environment variables

intermediate Published 24 Apr 2026
Action Steps
  1. Check the ~/.aws/config file for correct profile definition
  2. Verify the ~/.aws/credentials file for valid credentials
  3. Run the command 'aws sts get-caller-identity' to test AWS credentials
  4. Configure the AWS SSO profile in your Zsh configuration file
  5. Test the AWS SSO login alias again after making changes
Who Needs to Know This

DevOps engineers and developers using AWS SSO with Zsh can benefit from this solution to resolve login issues

Key Insight

💡 The 'No Credentials Found' error in AWS SSO can be caused by incorrect config files or missing environment variables

Share This
🚀 Fix 'No Credentials Found' error in AWS SSO with Zsh by checking config files and env vars
Read full article → ← Back to Reads