Tags

, , , , , , , , , , , , ,

Pre-requisites:

Generating Public/Private Key for Oracle Cloud Service

Setting up curl on Windows 7

Login to Oracle Cloud Service using following link,

https://myservices.oraclecloud.com/mycloud/faces/gDashboard.jspx

login
Supply User Name and User Password and Sign In.

Open Oracle Storage Cloud Service,

storageExpand Service Details and copy REST Endpoint URL

storage1Open windows command prompt as administrator-> Go to folder where curl is installed,

and run below command to generate AUTH Key,

<curlInstallDir>curl -v -s -X GET -H “X-Storage-User: Storage-<IdentityDomainName>:<UserIdUsedToLoginToCloudAccountYourMailId>” -H “X-Storage-Pass:<PasswordUSEDToLogin>” https://<IdentityDomainName&gt;.
storage.oraclecloud.com/auth/v1.0

It would generate an output like below.

authkey

Copy “X-Auth-Token” from the console.

Copy REST API URL from Oracle Storage Cloud Screen.

Run below command on command prompt by replacing,

<curlInstallDir>curl -v -X PUT -H “X-Auth-Token: <AUTHKEYHERE>” <REST API for Storage Cloud>

It would generate output like below,

container

It confirms that container has been created for you.

Advertisements