Class OkeWorkloadIdentityConfiguration

java.lang.Object
io.micronaut.oraclecloud.oke.workload.identity.OkeWorkloadIdentityConfiguration
All Implemented Interfaces:
io.micronaut.core.util.Toggleable

@ConfigurationProperties("oci.config.oke-workload-identity") @Requires(property="oci.config.oke-workload-identity.enabled", value="true") public class OkeWorkloadIdentityConfiguration extends Object implements io.micronaut.core.util.Toggleable
Allows configuration of the OkeWorkloadIdentityAuthenticationDetailsProvider.
  • Constructor Details

    • OkeWorkloadIdentityConfiguration

      public OkeWorkloadIdentityConfiguration(OkeHttpClientConfiguration okeHttpClientConfiguration)
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface io.micronaut.core.util.Toggleable
    • setEnabled

      public void setEnabled(boolean enabled)
      Parameters:
      enabled - Sets whether to enable instance principal authentication
    • getBuilder

      public com.oracle.bmc.auth.okeworkloadidentity.OkeWorkloadIdentityAuthenticationDetailsProvider.OkeWorkloadIdentityAuthenticationDetailsProviderBuilder getBuilder()
      Returns:
      The builder