MySQL Shell uses the parameters defined in the OCI CLI
configuration file, config
, to connect to
the Object Storage service. For more information on this file,
see
SDK
and CLI Configuration
MySQL Shell requires the following parameters in the configuration file:
user
: OCID of the user.fingerprint
: generated fingerprint of the user's public key.tenancy
: OCID of the user's tenancy.region
: An Oracle Cloud Infrastructure region.key_file
: Full path and filename of the user's public key.
The following is an example of a configuration file:
[default]
user=ocid1.user.oc1..alphanumericstring
fingerprint=08:23:60:....:ff:22:dd:55:20
tenancy=ocid1.tenancy.oc1..alphanumericstring
region=us-ashburn-1
key_file=/home/Username/.oci/oci_api_key.pem
If you have installed and configured the OCI CLI, MySQL Shell
reads the connection parameters from the default location,
.oci/
, automatically. To use an alternate
configuration, do so from the command line, using the relevant
override options.