basic creds schema

This commit is contained in:
root
2025-09-18 09:04:08 +02:00
committed by Magel, Denis
parent b0d70e2120
commit 774fa3484c

View File

@@ -5,3 +5,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