CloudQuery Oracle OCI plugin TF_VAR_private_key not working properly

Hello! I am working with CloudQuery with the Oracle OCI plugin. I am trying to use the TF_VAR_private_key instead of the TF_VAR_private_key_path, but it seems that is not working. I am getting the following error:

error: Unable to scan/import Command failed: cd ../scanner && ./cloudquery sync ./cloudquery-config/oracle.yml ./cloudquery-config/postgresql.yml
Error: failed to sync v3 source oracle: unexpected error from sync client receive: rpc error: code = Unknown desc = failed to sync records: failed to sync unmanaged client: can not create client, bad configuration: did not find a proper configuration for private key...

I have done some tests with the string I am using and I cut and pasted it into a file and used the TF_VAR_private_key_path, and it works fine. Might this be a bug, or is there some formatting that I need to do to the file when I copy and paste it as an environment variable to work?

Hi @prime-crab! Thanks for your patience.

One of our engineers found this: from looking at the OCI Go SDK, it seems that only private_key_path is supported and not private_key: GitHub - OCI Go SDK

Thank you very much! I was under the impression that it would work because the documentation link points to the OCI variables and it’s there.
Thank you so much for the clarification!
Is there any plans to add this feature?

Sure, I can add it to our issues and we’ll look at prioritizing and if it slots into our roadmap.