Posts

Showing posts from July, 2022

User setup on oracle OCI - basics - Setup required to do API calls.

Image
Reference doc : https://docs.oracle.com/en-us/iaas/Content/API/Concepts/apisigningkey.htm Based on the reference document, we will go and setup the user to enable API calls. Navigate to the user profile . Then navigate to to API keys and click on ADD API keys. you have multiple options, you can generate your own or you can use oci console to generate one. I have generated and choosing option 2 tmylaptop /c/tamil/autonomous_learning $ openssl genrsa -out oci_api_key_150722.pem 2048 Generating RSA private key, 2048 bit long modulus (2 primes) ................................+++++ ....................................................................................................................................................................................................................+++++ e is 65537 (0x010001) tmylaptop /c/tamil/autonomous_learning $ chmod 700 oci_api_key_150722.pem tmylaptop /c/tamil/autonomous_learning $ openssl rsa -pubout -in oci_api_key_150722.pem -out oci...