Verifying a Disk Import Upload User's Credentials
Verify an upload user's credentials for a disk import transfer job.
You can verify the current upload user credentials to see if there are any problems or updates required. If any configuration file is incorrect or invalid, the upload fails.
Using the Data Transfer Utility
Use the dts job verify-upload-user-credentials
command and required parameters to verify an upload user's credentials for a disk import transfer job.
dts job verify-upload-user-credentials --bucket bucket
bucket
is the upload bucket for the transfer job.
Run dts job verify-upload-user-credentials --help
to view the complete list of flags and variable options.
For example:
dts job verify-upload-user-credentials --bucket MyBucket1
created object BulkDataTransferTestObject in bucket MyBucket1
overwrote object BulkDataTransferTestObject in bucket MyBucket1
inspected object BulkDataTransferTestObject in bucket MyBucket1
read object BulkDataTransferTestObject in bucket MyBucket1
Depending on your user configuration, you may get an error message returned similar to the following:
ERROR : key_file /root/.oci/oci_api_key.pem is not a valid file
If a user credential issue is identified, fix it and rerun the verify-upload-user-credentials
CLI to ensure that all problems are addressed. Then you can proceed with transfer job activities.