My Oracle Support Banner

[OCI]: Frequently Asked Questions About Command Line Interface (CLI) For Oracle Cloud Infrastructure (OCI) (Doc ID 2433795.1)

Last updated on OCTOBER 04, 2019

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Purpose

 This document includes frequently asked questions related to usage of command line interface (CLI) for oracle cloud Interface (OCI)

Questions and Answers

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Questions and Answers
 Required Inputs For Configuring Command Line Interface
 1. How to find Tenancy OCID
 2. How to find User OCID
 3. How to get compartment ID
 4. How to find namespace ID using command line
 5. Where to find documentation reference for using commands
 Examples of Using Command Line Interface
 1. How to get list of buckets in OCI console
 2. How to check the objects that can be deleted
 3. How to display database systems in a compartment
 4. How to list backups available for a database instance
 Errors during Installation/Usage of Command Line Interface
 1. Getting error "ZipImportError: can't decompress data" during installation of command line interface
 2. Getting error "ModuleNotFoundError: No module named '_ssl' during installation of command line interface
 3. Executing any oci command shows "The required information to complete authentication was not provided."
 4. Executing any oci command shows "RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment... This system lists a couple of UTF-8 supporting locales that you can pick from.  The following suitable locales where discovered:"
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.