basic creds schema

This commit is contained in:
root
2025-09-18 09:04:08 +02:00
parent bcc2bc9678
commit 847579419b

View File

@@ -4,3 +4,11 @@ from pydantic import BaseModel
class ExampleSchema(BaseModel):
example_field: str
another_field: int
class ClusterCreds(BaseModel):
"""A structure to hold basic auth cluster credentials for a cluster"""
username: str
password: str
hostname: str = None
cert_filepath: Path = None
key_filepath: Path = None