public class EnvironmentCredentialsCondition
extends java.lang.Object
implements io.micronaut.context.condition.Condition
A custom condition that matches when the following environment variables are defined.
AZURE_CLIENT_ID
AZURE_CLIENT_SECRET
AZURE_TENANT_ID
or:
AZURE_CLIENT_ID
AZURE_CLIENT_CERTIFICATE_PATH
AZURE_TENANT_ID
or:
AZURE_CLIENT_ID
AZURE_USERNAME
AZURE_PASSWORD
Constructor and Description |
---|
EnvironmentCredentialsCondition() |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(io.micronaut.context.condition.ConditionContext context) |