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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -