Verifying an Appliance Import Transfer Job Upload User's Credentials
Verify an upload user's credentials for an appliance import transfer job.
You can verify the current upload user credentials to see whether there are any problems or updates required. If any configuration file is incorrect or invalid, the upload fails.
Using the CLI
Use the oci dts job verify-upload-user-credentials command and required parameters to verify an upload user's credentials for an appliance import transfer job.
oci dts job verify-upload-user-credentials --bucket bucket [OPTIONS]
bucket
is the upload bucket for the transfer job.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
For example:
oci 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:
WARNING: Permissions on /home/user/.oci/config_upload_user are too open.
To fix this please try executing the following command:
oci setup repair-file-permissions --file /home/user/.oci/config_upload_user
Alternatively to hide this warning, you may set the environment variable, OCI_CLI_SUPPRESS_FILE_PERMISSIONS_WARNING:
export OCI_CLI_SUPPRESS_FILE_PERMISSIONS_WARNING=True
ERROR: The config file at /home/user/.oci/config_upload_user is invalid:
+Config Errors+-----------+----------------------------------------------------------------------------------+
| Key | Error | Hint |
+-------------+-----------+----------------------------------------------------------------------------------+
| fingerprint | malformed | openssl rsa -pubout -outform DER -in path to your private key | openssl md5 -c |
+-------------+-----------+----------------------------------------------------------------------------------+
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.