Class OkeWorkloadIdentityFactory

java.lang.Object
io.micronaut.oraclecloud.oke.workload.identity.OkeWorkloadIdentityFactory

@Factory public class OkeWorkloadIdentityFactory extends Object
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 Details

    • OkeWorkloadIdentityFactory

      public OkeWorkloadIdentityFactory()
  • Method Details

    • okeWorkloadIdentityAuthenticationDetailsProvider

      @Singleton @Requires(beans=OkeWorkloadIdentityConfiguration.class) @Primary protected com.oracle.bmc.auth.okeworkloadidentity.OkeWorkloadIdentityAuthenticationDetailsProvider okeWorkloadIdentityAuthenticationDetailsProvider(OkeWorkloadIdentityConfiguration okeWorkloadIdentityConfiguration)
      Configures a OkeWorkloadIdentityAuthenticationDetailsProvider if no other AuthenticationDetailsProvider is present and the specified by the user with oci.config.use-instance-principal.
      Parameters:
      okeWorkloadIdentityConfiguration - The configuration
      Returns:
      The OkeWorkloadIdentityAuthenticationDetailsProvider.
      See Also:
      • OkeWorkloadIdentityAuthenticationDetailsProvider