User OCID in OCI: where are the user OCID, tenancy OCID, compartment and fingerprint, and why does the CLI respond...
This site's OCI guide explains how to generate the API key and paste it into Control Cloud. Search Console shows people arriving searching for "user ocid" and "oci auth", that is, the previous step: where each piece of data is and why the CLI replies 401. This note brings together the console paths for the User OCID, the Tenancy OCID and a Compartment OCID, Region and Fingerprint, how it looks…
The article provides a guide on how to generate an API key and configure it in Control Cloud. It explains where to find the required information, such as the user OCID, tenancy OCID, compartment OCID, region, and fingerprint, in the Oracle Cloud Infrastructure console. The guide also covers how to create a configuration file and test it using the CLI, as well as common errors, such as NotAuthenticated, and their causes, as documented by Oracle.
The information is based on Oracle's documentation, including pages on required keys and OCIDs, SDK and CLI configuration, and installing the CLI.
Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.