kahing/goofys

Credentials error when connection mount

Hugow1 opened this issue · 1 comments

I am having the following error: s3.ERROR code=NoCredentialProviders msg=no valid providers in chain. Deprecated.#12#011For verbose messaging see aws.Config.CredentialsChainVerboseErrors, err=#12

This happens when I run sudo mount -a on ubuntu.
I have the following line in /etc/fstab
goofys#bucketname /mnt/path fuse _netdev,allow_other,--file-mode=0666,--dir-mode=0777,--endpoint=enpointurl.com 0 0
The credentials are stored in ~/.aws/credentials

Looks like it is not using my credentials or something, any idea why?

Found what I did wrong. Did not include the [default] parameter at the top of the credentials file.