have you go through this ( see paragraph "How to Generate an API Signing Key" ) already ?
( eventually you will need to upload the public key to IAM, detailed instructions should be on the same above link )
Please use the below command on Linux machine or github bash console and generate the api key.
# openssl genrsa -out ~/.oci/oci_api_key.pem 2048
# chmod go-rwx ~/.oci/oci_api_key.pem
# openssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem
Copy the Pem File
# cat ~/.oci/oci_api_key_public.pem | pbcopy
Finger of the Key
# openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -c
This is really not complicated.
- Install the OCI CLI, using the command: pip install oci
- run the command: oci setup config
this will run you thru the wizard, asking for user IC and tenant ID, then it offers the option to create the SSH keys for you.
After the keys are created you can upload the public key in the identity section.
If you still struggle with it, let me know, I will make a screen recording of the process.