@ConfigurationProperties(value="oci.config.instance-principal")
@Requires(property="oci.config.instance-principal.enabled",
value="true")
public class InstancePrincipalConfiguration
extends java.lang.Object
implements io.micronaut.core.util.Toggleable
InstancePrincipalsAuthenticationDetailsProvider
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PREFIX |
Constructor and Description |
---|
InstancePrincipalConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.oracle.bmc.auth.InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder |
getBuilder() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
public static final java.lang.String PREFIX
public boolean isEnabled()
isEnabled
in interface io.micronaut.core.util.Toggleable
public void setEnabled(boolean enabled)
enabled
- Sets whether to enable instance principal authenticationpublic com.oracle.bmc.auth.InstancePrincipalsAuthenticationDetailsProvider.InstancePrincipalsAuthenticationDetailsProviderBuilder getBuilder()