amazon web services - Error when using AWS-SDK-GO (NoCredentialProviders: no valid providers in chain) -
i've started using aws-sdk-go package.
walking through instructions, folder structure follows:
- bin/ , pkg/ (as always)
- src/
- app/main.go (code taken docs)
- github.com/aws
now when run go install
, , execute app.exe (using windows here),
i'm getting following error:
panic: nocredentialproviders: no valid providers in chain
any ideas?
you need provide aws access key , secret key authenticate , use aws services.
see readme here https://github.com/aws/aws-sdk-go#configuring-credentials
Comments
Post a Comment