lookingglass/hyperglass/models/config/credential.py
2020-10-11 13:14:07 -07:00

14 lines
297 B
Python

"""Validate credential configuration variables."""
# Third Party
from pydantic import SecretStr, StrictStr
# Local
from ..main import HyperglassModel
class Credential(HyperglassModel):
"""Model for per-credential config in devices.yaml."""
username: StrictStr
password: SecretStr