Module io.helidon.integrations.oci
Package io.helidon.integrations.oci.spi
Interface OciAuthenticationMethod
An OCI Authentication Details Provider service contract.
This service is implemented by:
- Config based method
- Config file based method
- Resource principal method
- Instance principal method
-
Method Summary
Modifier and TypeMethodDescriptionmethod()
The OCI authentication method name, can be used to explicitly select a method using configuration.Optional
<com.oracle.bmc.auth.BasicAuthenticationDetailsProvider> provider()
Provide an instance of theBasicAuthenticationDetailsProvider
to be used by other services.
-
Method Details
-
method
String method()The OCI authentication method name, can be used to explicitly select a method using configuration.- Returns:
- OCI authentication method name
-
provider
Optional<com.oracle.bmc.auth.BasicAuthenticationDetailsProvider> provider()Provide an instance of theBasicAuthenticationDetailsProvider
to be used by other services.- Returns:
- authentication details provider, or empty if nothing can be provided
-