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 Summary
ConstructorDescriptionOkeWorkloadIdentityConfiguration
(OkeHttpClientConfiguration okeHttpClientConfiguration) -
Method Summary
Modifier and TypeMethodDescriptioncom.oracle.bmc.auth.okeworkloadidentity.OkeWorkloadIdentityAuthenticationDetailsProvider.OkeWorkloadIdentityAuthenticationDetailsProviderBuilder
boolean
void
setEnabled
(boolean enabled)
-
Constructor Details
-
OkeWorkloadIdentityConfiguration
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceio.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
-