added null guard on OCID api key