copyFromObjectStorage2

Copies a file or backup snapshot as a single non-segmented file from an Oracle Object Storage bucket to the current environment. This command uses API signing authentication to digitally sign the request to ensure security.

Applies to

Planning, Planning Modules, FreeForm, Financial Consolidation and Close, Tax Reporting, Account Reconciliation, Profitability and Cost Management, Enterprise Profitability and Cost Management, Oracle Fusion Cloud Enterprise Data Management, Narrative Reporting, Strategic Workforce Planning, and Sales Planning.

Required Roles

Service Administrator

Usage

epmautomate copyFromObjectStorage2 URL tenancyOCID userOCID fingerprint keyFile targetFile where:

  • URL is the Cloud Object Storage URL, including the name of the bucket where from you want to copy a file to the Oracle Fusion Cloud Enterprise Performance Management environment.
  • tenancyOCID is the OCID of the tenancy where the file you want to copy is stored. This ID is available on the Tenancy details page of the Oracle Cloud Identity Console.
  • userOCID is the Oracle Cloud Identity of the user who has the access privileges to copy the file from the Cloud Object Storage. This ID is available on the User details page of the Oracle Cloud Identity Console.
  • fingerprint is the fingerprint (hash) of the RSA public API key. You can retrieve the RSA asymmetric cryptography algorithm fingerprint by running the OpenSSL command openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -cs
  • keyFile is the name, including the path, of the private key file stored on your computer.
  • targetFile is a unique name of the file you want to copy from the Object Storage to the current environment.

Example

epmautomate CopyFromObjectStorage2 https://objectstorage.region_identifier.oraclecloud.com/n/namespace/b/Example_bucket/o/epm_artifact_snapshot "ocid1.tenancy.oc1..ccca?" "ocid1.user.oc1..aaad?" "5b:51:4b:12:6d:7c:?:a0:11:b7:11:0b:1f" "~/.oci/oci_api_key.pem" "Artifact Snapshot"