1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-02-07 17:58:24 +00:00
thatmattlove-hyperglass/hyperglass/configuration/models/ssl.py
2020-01-05 00:32:54 -07:00

15 lines
337 B
Python

"""Validate SSL configuration variables."""
# Third Party Imports
from pydantic import FilePath
from pydantic import StrictBool
# Project Imports
from hyperglass.configuration.models._utils import HyperglassModel
class Ssl(HyperglassModel):
"""Validate SSL config parameters."""
enable: StrictBool = True
cert: FilePath