Connecting CBCloudDrive to Oracle Cloud Object Storage
Requirements: CBFSCloud
This article explains how to configure CBCloudDrive to connect to Oracle Cloud Object Storage. For a general overview of how the component works, see Getting Started with the CBCloudDrive Component.
Getting Started
First go ahead and set the ConnectionType property to ctS3 and set CacheDirectory to a valid, writable local directory path. After that, you can build a connection string using the below parameters.
Connection Parameters
| Parameter | Description |
|---|---|
| RemoteRoot | The path to use as the root of the mounted drive. The first path segment must be the bucket name (e.g., /my-bucket). |
| Provider | Must be set to ORACLE. |
| OracleNamespace | The Object Storage namespace for your tenancy. Found in the Oracle Cloud Console under Object Storage & Archive Storage > Buckets. |
| AccessKey | The access key for authentication. |
| SecretKey | The secret key for authentication. |
Authentication
Oracle Cloud Object Storage uses Customer Secret Keys for S3-compatible API access. Generate a key pair from the Oracle Cloud Console under Profile > My profile > Customer secret keys, then set AccessKey and SecretKey to the generated key ID and secret.
drive.ConnectionType = CBCloudDriveConnectionTypes.ctS3;
drive.ConnectionString = "RemoteRoot=/my-bucket;Provider=ORACLE;OracleNamespace=MY-NAMESPACE;"
+ "AccessKey=MYACCESSKEY;SecretKey=MYSECRETKEY;";
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@callback.com.