User OCID in OCI: where are the user OCID, tenancy OCID, compartment and fingerprint located, and why does the CLI respond with 401
This site's OCI guide explains how to generate the API key and paste it into Control Cloud. Search Console shows people arriving with searches like user ocid and oci auth , that is, the previous step: where each piece of data is and why the CLI responds with 401. This note joins the console paths for the user's OCID, the tenancy's, and a compartment's, the region and the fingerprint, how ~/.oci/config looks like, how…
The article explains how to generate an API key and configure it in Control Cloud using the Oracle Cloud Infrastructure (OCI) guide. It provides information on where to find necessary data, such as User OCID, Tenancy OCID, Compartment OCID, region, and fingerprint, in the OCI console. The article also describes how to create a configuration file (~/.oci/config) and test it using the Command Line Interface (CLI).
Additionally, it lists the causes of NotAuthenticated (401) errors, as documented by Oracle, and explains what data is required to configure OCI in Control Cloud.
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.
This story
This is one outlet's version. Read the fullest account.