From 847579419bd4f3ce08630d2cc9354881386cbe8f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 18 Sep 2025 09:04:08 +0200 Subject: [PATCH] basic creds schema --- src/example/schema.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/example/schema.py b/src/example/schema.py index f9c7684..17ac392 100644 --- a/src/example/schema.py +++ b/src/example/schema.py @@ -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