---
title: "Discussion on \"OCI user OCID: where to find the user OCID, tenancy OCID, compartment and fingerprint, and why the CLI returns 401\" | Hashnode"
description: "Discussion on \"OCI user OCID: where to find the user OCID, tenancy OCID, compartment and fingerprint, and why the CLI returns 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\", which is the step before"
url: "https://hashnode.com/posts/oci-user-ocid-where-to-find-the-user-ocid-tenancy-ocid-compartment-and-fingerprint-and-why-the-cli-returns-401/6af8ee4575bb8c7a76d3bcd7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [OCI user OCID: where to find the user OCID, tenancy OCID, compartment and fingerprint, and why the CLI returns 401](https://controlcloud.hashnode.dev/oci-user-ocid-where-to-find-the-user-ocid-tenancy-ocid-compartment-and-fingerprint-and-why-the-cli-returns-401?utm_source=hashnode&utm_medium=feed)

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", which is the step before

5h ago · 6 min read · controlcloud.hashnode.dev  
Read the article

-   [#oracle-cloud](https://hashnode.com/tag/oracle-cloud)
-   [#oci](https://hashnode.com/tag/oci)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cli](https://hashnode.com/tag/cli)

## Written by

[Gonzalo Gjuka](https://hashnode.com/@gonzalogjuka)

@gonzalogjuka

  
[View profile](https://hashnode.com/@gonzalogjuka)

DevOps & Cloud Engineer · Building Control Cloud

DevOps &amp; Cloud Engineer. Building Control Cloud: one console to see, validate and operate your multi-cloud infrastructure. https://controlcloud.dev

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
