Documentation » Using WinSCP » Guides » Cloud Computing »

Connecting securely to Oracle Object Storage bucket with S3

With WinSCP you can easily upload and manage files on your Oracle Object Storage bucket using S3 protocol.

Before starting you should have WinSCP installed.

Connecting

Collect information about your Object Storage bucket and API keys in your Oracle Cloud account.

  • If you do not have Customer secret key yet, go to Profile menu (top right) and select My profile. In the Resources menu on the left proceed to Customer secret keys. Click on the Generate secret key. Note both the secret key and access key.
  • On the Object Storage Buckets page, select your bucket. Note the Namespace. Also note the region, which you can see at the end of the page URL, for example as region=eu-frankfurt-1.

Start WinSCP. Login dialog will appear. On the dialog:

  • Make sure New site node is selected.
  • On the New site node, select Amazon S3 protocol.
  • To the Host name box enter hostname of your Oracle S3 API endpoint in a format:
    namespace.compat.objectstorage.region.oraclecloud.com
    Replace the namespace and region with the values you have noted earlier. The resulting hostname will be like: gpxaorf2a1ty.compat.objectstorage.eu-frankfurt-1.oraclecloud.com
  • Enter your keys to Access key ID and Secret access key.
  • Click Advanced and
    • Go to Environment > Directories page. There, enter your bucket name preceded by a slash (/bucket) into the Remote directory box. Or leave it empty to open a bucket list on login.
    • Go to Environment > S3 page and in URL style, select Path.
    • Submit the Advanced Site Setting dialog.
  • Back on the Login dialog, save your site settings using the Save button.
  • Login using the Login button.

Further reading

Last modified: by martin