io.quarkiverse.openfga.runtime.config.OpenFGATLSConfig Maven / Gradle / Ivy
package io.quarkiverse.openfga.runtime.config;
import java.util.Optional;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
@ConfigGroup
public class OpenFGATLSConfig {
/**
* Allows to bypass certificate validation on TLS communications.
*
* If true this will allow TLS communications with OpenFGA, without checking the validity of the
* certificate presented by OpenFGA. This is discouraged in production because it allows man in the middle
* type of attacks.
*/
@ConfigItem
public Optional skipVerify;
/**
* Certificate bundle used to validate TLS communications with OpenFGA.
*
* The path to a pem bundle file, if TLS is required, and trusted certificates are not set through
* javax.net.ssl.trustStore system property.
*/
@ConfigItem
public Optional caCert;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy