O
OCI CLI
Details
- Command
-
oci - Docs
- https://docs.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm
Authentication
$ oci setup config Create an OCI API signing key for your user and gather the required tenancy and user OCIDs as described in Request Signatures. Use the linked key/OCID setup referenced there, then configure your client or CLI profile with the key fingerprint, private key, tenancy OCID, user OCID, and region.
OCI CLI session token oauth2 discovered
$ oci session authenticate Acquired by the CLI — running oci session authenticate opens the auth flow and stores the credential.