The Configuration File for oracle-dbcs-cli Subcommands

Many of the subcommands that the oracle-dbcs-cli utility supports require a configuration file that specifies information to connect to the correct Oracle Database Cloud Service identity domain.

Contents of the Configuration File

The configuration file you specify in many oracle-dbcs-cli subcommands is a text file containing lines of the format:

name=value

where name is the predefined name for a piece of data and value is the value of that piece of data in your context. The following table shows the names and values required in the configuration file.

Name Description

sm_url

The url to the Database Cloud Service REST interface:

https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances

identity_domain

Name of the identity domain to connect to.

user_name

User name of an Oracle Cloud user authorized as an administrator in the given identity domain.

password

Password of the given Oracle Cloud user.

Example of a Configuration File

Here is an example of a configuration file for use with oracle-dbcs-cli subcommands.

sm_url=https://dbaas.oraclecloud.com/paas/service/dbcs/api/v1.1/instances
identity_domain=usoracle99999
user_name=dbcsadmin
password=Pa55_WoRd