IBM Cloud Object Storage (COS) configuration for API access

Following are the steps can be useful if you have any application (service) in your on premise that need to access (download/upload) files to IBM Cloud Object Storage (COS).

Open IBM COS URL https://console.bluemix.net/catalog/
‘Sign up’ for free access then ‘Login’. Select Object Storage from Storage container.

SIGNIN.jpg

 

Give appropriate name to Service name then click on Create.

ServiceName.jpg

 

Once service ready then either click on Create bucket OR create your first bucket as highlighted below.

CreateBucket.jpg

 

 

Give appropriate Name to bucket, select appropriate option for Resiliency, location, storage class (standard, vault, cold vault, flex), then click on Create.

bucketproperty.jpg

 

Select Endpoints copy the endpoint name then will be used by API to access.

Endpoint.jpg

 

From Service Credential page, click on ‘New credential’, give appropriate Name to credential, if you already created service id then click Select Service ID, if not then Create New Service ID, If you creating it first time then I would create a new service id (don’t click on add as of now).

ServiceCredential.jpg

 

Give appropriate name to New Service ID Name, in Add lnline… option paste {“HMAC”:true} it will generate Access Key ID & Secret key id for API access.  Now click on Add.

NewCredential.jpg

 

Now click on View Credential then note down access & secret key.

viewCredential.jpg

 

Use Endpoint, access key, secret key to connect with bucket using CyberDuck, CloudBerry, S3Browser and any other equivalent tool.

CloudDuck.jpg

 

You can create bucket, folders, upload & download objects using this tool to confirm the storage configuration.

Upload.jpg