basic creds schema
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user