Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OCI CLI fails to load default profile from config file even if I have proper default profile

When I run any oci cli command I'm getting below error:

ERROR: Profile '<DEFAULT>' not found in config file C:\Users\user1\.oci\config

Below is my config file for OCI CLI:

[DEFAULT]
user=<admin user ocid>
fingerprint=<fingerprint>
key_file=<path/to/private/key>
tenancy=<tenancy ocid>
region=ap-mumbai-1
like image 260
kiran badiger Avatar asked Oct 25 '25 09:10

kiran badiger


1 Answers

I had a similar problem to this. If you use Python and have changed some of the libraries it's possible you may have updated some of the needed dependencies. Upgrade/reinstall oci ie.

pip install oci-cli --upgrade

This sorted the problem for me.

like image 161
Dom G Avatar answered Oct 29 '25 19:10

Dom G



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!