Connect to OCI Object Storage

Learn to create a connection to OCI Object Storage to use as a target with OCI GoldenGate.

Create the connection

To create an OCI Object Storage connection:
  1. From the OCI GoldenGate Overview page, click Connections.
    You can also click Create Connection under the Get started section and skip to step 3.
  2. On the Connections page, click Create Connection.
  3. In the Create Connection panel, complete the General Information fields as follows:
    1. For Name, enter a name for the connection.
    2. (Optional) For Description, enter a description that helps you distinguish this connection from others.
    3. For Compartment, select the compartment in which to create the connection.
    4. For Technology Type, select OCI Object Storage.
    5. (Optional) Click Show advanced options to manage keys or add tags.
      1. Under Security, select one of the following:
        • Select Use Oracle-managed encryption key to leave all encryption key management to Oracle.
        • Select Use customer-managed encryption key to select a specific encryption key stored in your OCI Vault to encrypt your connection credentials.
      2. Under Tags, add tags to organize your resources.
  4. Click Next.
  5. Complete the Connection details fields as follows:
    1. For Tenancy, select one of the following options:
      • Use current tenancy
      • Specify another tenancy, and then enter the Tenancy OCID
    2. For Region, select the OCI Object Storage region.
    3. For User, select one of the following options:
      • Use current user
      • Specify another user, and then enter the User OCID.
    4. For Private key file, drag and drop or select the Privacy enhanced mail (PEM) file.


      You can create and download the API key on your user details page, and then upload it here.
    5. For Public key fingerprint, enter the corresponding public key fingerprint.
    6. For Network connectivity, select a Traffic routing method:
      • Shared endpoint, to share an endpoint with the assigned deployment. You must allow connectivity from the deployment's ingress IP.
      • Dedicated endpoint, for network traffic through a dedicated endpoint in the assigned subnet in your VCN. You must allow connectivity from this connection's ingress IPs.
  6. Click Create.
After the connection is created, it appears in the Connections list, where you can select it to view its details. Ensure that you assign the connection to a deployment to use it as a target in a replication.

Known Issues

User OCID Mismatch in OCI Object Storage connection (Federated users only)

If a federated user selects Use current user when creating an OCI Object Storage connection, their OCID doesn't match the OCID picked up by the system.

Workaround: When you create an OCI Object Storage connection, ensure that you choose Specify another user, and then enter the federated user's OCID.

To find the user OCID, click Profile in the Oracle Cloud console global header, and then select the user name. On the User Details page, under User Information, click Show for OCID.