Open robertpatrick opened 1 year ago
OK. Do you have an idea in how would that work using the OCI Java SDK?
@aalmiray I suspect it involves using this class: https://github.com/oracle/oci-java-sdk/blob/master/bmc-common/src/main/java/com/oracle/bmc/auth/InstancePrincipalsAuthenticationDetailsProvider.java
Thanks. I'll have a look at it in the coming days 😄
We are using the plugin from our builds running in dynamically-provisioned OCI slaves. In other OCI CLI operations, we are currently relying on using
--config-file=/dev/null --auth=instance_principal
as the authentication mechanism. It would be convenience if we could use this mechanism for theoci-maven-plugin
.