Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingConfig = errors.New("TLS is enabled: please specify a key (path) and a cert (path) or disable TLS if needed (e.g. by setting flag `--tlsMode external` or `--tlsMode disabled")
)
Functions ¶
This section is empty.
Types ¶
type TLS ¶
type TLS struct { //If enabled, ZITADEL will serve all traffic over TLS (HTTPS and gRPC) //you must then also provide a private key and certificate to be used for the connection //either directly or by a path to the corresponding file Enabled bool //Path to the private key of the TLS certificate, it will be loaded into the Key //and overwrite any exising value KeyPath string //Path to the certificate for the TLS connection, it will be loaded into the Cert //and overwrite any exising value CertPath string //Private key of the TLS certificate (KeyPath will this overwrite, if specified) Key []byte //Certificate for the TLS connection (CertPath will this overwrite, if specified) Cert []byte }
Click to show internal directories.
Click to hide internal directories.