DocumentCaptureTask.ociConfig
|
Property Description |
Oracle Cloud Infrastructure (OCI) credentials when using unlimited usage mode. For more information, see the description of the |
|
Type |
Object |
|
Module |
|
|
Parent Object |
|
|
Sibling Object Members |
|
|
Since |
2025.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/task Module Script Samples.
// Add additional code
...
var myDocCaptureTask = task.create({
taskType: task.TaskType.DOCUMENT_CAPTURE
});
// Make sure you use the credentials from your OCI account with access to the
// OCI Document Understanding service
myDocCaptureTask.ociConfig = {
userId: 'user-ocid',
tenancyId: 'user-tenancy',
compartmentId: 'user-compartment',
fingerprint: 'custsecret_secret_fingerprint_id',
privateKey: 'custsecret_secret_privatekey_id',
objectStorageNamespace: 'oraclenetsuite',
outputBucketName: 'in-bucket-name',
inputBucketName: 'out-bucket-name'
};
...
// Add additional code