ibm-cloud-docs / cloud-object-storage

cloud-object-storage
15 stars 46 forks source link

ibm_iam_auth option needs to be specified for using s3fs if creds file only has apikey #47

Closed prempiyush closed 5 years ago

prempiyush commented 5 years ago

The user needs to explicitly specify ‘ibm_iam_auth’ option to s3fs if the credentials file has only the apikey.

Otherwise this is the error we get: “s3fs: failed to set internal data for access key/secret key from passwd file.”

Can someone please update s3fs.md accordingly?

nglange commented 5 years ago

Like this?

s3fs <bucket> <mountpoint> -o url=http{s}://<endpoint> –o passwd_file=<credentials_file> -o ibm_iam_auth

prempiyush commented 5 years ago

@nglange Yes, correct. Details are mentioned here https://github.com/s3fs-fuse/s3fs-fuse

nglange commented 5 years ago

Added here.