Enabling the Oracle Cloud Infrastructure Object Storage Service (CLI)

This procedure describes how to use the CLI to enable the Oracle Cloud Infrastructure Object Storage service for the HTTP protocol.

  1. Go to the oci node of the HTTP service.
    hostname:> configuration services http oci
  2. Optional: List the properties of the oci node.
    hostname:configuration services http oci> ls
    Properties:
                       oci_enabled = false
                  oci_default_path = /export/fs1
    
    Children:
                                 keys => Manage this Keystore's Keys
  3. To enable the Oracle Cloud Infrastructure Object Storage service for the HTTP protocol, set the oci_enabled property to true.
    hostname:configuration services http oci> set oci_enabled=true
                       oci_enabled = true (uncommitted)
  4. Commit the change.
    hostname:configuration services http oci (uncommitted)> commit
  5. Verify the oci_default_path property value.

    The oci_default_path property specifies the default location to store your objects. This default path is used if you do not specify the location for an object when you use the Oracle Cloud Infrastructure object store.

    The value of this property is the mountpoint of a filesystem that has the shareoci property set to rw as described in Configuring the Oracle Cloud Infrastructure Object Storage Service (CLI).