IBM / ibm-cos-sdk-js

ibm-cos-sdk-js
Apache License 2.0
38 stars 19 forks source link

Using accessKeyId and secretAccessKey to get access to cloud storgage #46

Closed GuiJordao21 closed 5 years ago

GuiJordao21 commented 5 years ago

Documentation here and on ibm cloud (https://cloud.ibm.com/docs/services/cloud-object-storage/libraries?topic=cloud-object-storage-node) must be more specific.

You should create a config object like this one >>

let config = { endpoint:process.env.ENDPOINT, accessKeyId:process.env.ACCESS_KEY_ID, secretAccessKey:process.env.SECRET_ACCESS_KEY, };

I lost a good half an hour on this and I think more explicit examples like this one will be very helpfull for some beginners and confused people, like myself

barry-hueston commented 5 years ago

@GuiJordao21, thanks for your suggestion. We will review this information and provide an update back to you.

Internal reference: CSAFE-55179

barry-hueston commented 5 years ago

@GuiJordao21, we are adding a new section to the SDK documents related to accessing environment variables in each of the languages. This will be available by the end of July.

GuiJordao21 commented 5 years ago

Nice, thank you for let me knowing this! I'm very happy my comment could be usefull.