How Do You Troubleshoot the AWS Error “could not get token: NoCredentialProviders: no valid providers in chain. Deprecated.”?

Problem scenario
You run this command: kubectl get svc

You receive this:
" could not get token: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors"

What should you do?

Solution
Install and configure the AWS CLI. If you need assistance with this, see this posting.

Leave a comment

Your email address will not be published. Required fields are marked *