Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Request: Support --auth=instance_principal use case #10

Open
robertpatrick opened this issue Apr 17, 2023 · 3 comments
Open

Comments

@robertpatrick
Copy link

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 the oci-maven-plugin.

@aalmiray
Copy link
Collaborator

OK. Do you have an idea in how would that work using the OCI Java SDK?

@robertpatrick
Copy link
Author

@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

@aalmiray
Copy link
Collaborator

Thanks. I'll have a look at it in the coming days 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants