We use tracking cookies to understand how you use the product and help us improve it. Please accept cookies to help us improve. You can always opt out later via the link in the footer.
oci
) and loads it into any supported CloudQuery destination (e.g. PostgreSQL, BigQuery, Snowflake, and more). It is based on the OCI Go SDK and the Oracle Cloud REST API.~/.oci/config
) looks like this:[DEFAULT]
user=ocid1.user.oc1..<unique_ID>
fingerprint=<your_fingerprint>
key_file=~/.oci/oci_api_key.pem
tenancy=ocid1.tenancy.oc1..<unique_ID>
region=us-ashburn-1
OCI_CLI
or TF_VAR
(e.g. OCI_CLI_tenancy_ocid
or TF_VAR_tenancy_ocid
).
See the documentation for a full list of available variables.export OCI_CLI_security_token_file=/path/to/token/file
export OCI_CLI_fingerprint="<your_fingerprint>"
export OCI_CLI_tenancy_ocid="ocid1.tenancy.oc1..<unique_ID>"
export OCI_CLI_user_ocid="ocid1.user.oc1..<unique_ID>"
export OCI_CLI_region="us-ashburn-1"
export OCI_CLI_private_key_path="~/.oci/oci_api_key.pem"
# Can be used instead of `OCI_CLI_private_key_path`, starting from version v4.3.0 of the Oracle source plugin
export OCI_CLI_private_key="<raw-content-of-private-key-with-line-breaks-replaced-with-\n>" # e.g. -----BEGIN PRIVATE KEY-----\n<private-key-content>\n-----END PRIVATE
oracle.yml
).kind: source
spec:
name: "oracle"
path: cloudquery/oracle
registry: cloudquery
version: "v7.5.27"
destinations: ["postgresql"]
tables: ["oracle_compute_instances"]
# Learn more about the configuration options at https://cql.ink/oracle_source
spec:
# Optional parameters
# concurrency: 10000
concurrency
(integer
) (optional) (default: 10000
)scheduler
(string
) (optional) (default: dfs
)
The scheduler to use when determining the priority of resources to sync.
Supported values are dfs
(depth-first search), round-robin
, shuffle
and shuffle-queue
.OCI_CLI_region
environment variableregion
value in the configuration fileOCI_REGION_METADATA
environment variable