OCI CLI Environment Variables
The OCI CLI client provides a number of arguments that are useful as you look up your components from the command line. As you build an internal tooling to query either your or your customers resources, it can start to get "interesting" if you need to start building a custom argument list. Since version 2.6.9 of the client, a number of environment variables are supported that you can set rather than building a complex argument list. I think leveraging these variables makes for a cleaner code base in your bash scripts. If you check the release notes from version 2.6.9, you will see they introduced they following variables: OCI_CLI_PROFILE OCI_CLI_REGION OCI_CLI_USER OCI_CLI_FINGERPRINT OCI_CLI_KEY_FILE OCI_CLI_TENANCY OCI_CLI_ENDPOINT OCI_CLI_CONFIG_FILE OCI_CLI_RC_FILE OCI_CLI_CERT_BUNDLE OCI_CLI_AUTH OCI_CLI_DELEGATION_TOKEN_FILE OCI_CLI_SECURITY_TOKEN_FILE For the most recent version of what's supported, you can review the code base where they defi