Class OkeWorkloadIdentityFactory
java.lang.Object
io.micronaut.oraclecloud.oke.workload.identity.OkeWorkloadIdentityFactory
Sets up core beans for integration with Oracle cloud clients. The following beans are exposed:
AuthenticationDetailsProvider
ClientConfiguration.ClientConfigurationBuilder
ClientConfiguration
- See Also:
-
ConfigFileAuthenticationDetailsProvider
ResourcePrincipalAuthenticationDetailsProvider
SimpleAuthenticationDetailsProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.oracle.bmc.auth.okeworkloadidentity.OkeWorkloadIdentityAuthenticationDetailsProvider
okeWorkloadIdentityAuthenticationDetailsProvider
(OkeWorkloadIdentityConfiguration okeWorkloadIdentityConfiguration) Configures aOkeWorkloadIdentityAuthenticationDetailsProvider
if no otherAuthenticationDetailsProvider
is present and the specified by the user withoci.config.use-instance-principal
.
-
Constructor Details
-
OkeWorkloadIdentityFactory
public OkeWorkloadIdentityFactory()
-
-
Method Details
-
okeWorkloadIdentityAuthenticationDetailsProvider
@Singleton @Requires(beans=OkeWorkloadIdentityConfiguration.class) @Primary protected com.oracle.bmc.auth.okeworkloadidentity.OkeWorkloadIdentityAuthenticationDetailsProvider okeWorkloadIdentityAuthenticationDetailsProvider(OkeWorkloadIdentityConfiguration okeWorkloadIdentityConfiguration) Configures aOkeWorkloadIdentityAuthenticationDetailsProvider
if no otherAuthenticationDetailsProvider
is present and the specified by the user withoci.config.use-instance-principal
.- Parameters:
okeWorkloadIdentityConfiguration
- The configuration- Returns:
- The
OkeWorkloadIdentityAuthenticationDetailsProvider
. - See Also:
-
OkeWorkloadIdentityAuthenticationDetailsProvider
-