credentials
The credentials module defines a simple model schema for storing credentials.
APIKeyCredential
Bases: BaseCredentials
The API key credential model.
Source code in docprompt/tasks/credentials.py
AWSCredentials
Bases: BaseCredentials
The AWS credentials model.
Source code in docprompt/tasks/credentials.py
BaseCredentials
Bases: BaseModel
The base credentials model.
Source code in docprompt/tasks/credentials.py
kwargs: Dict[str, str]
property
Return the credentials as a dictionary with secrets exposed.
GCPServiceFileCredentials
Bases: BaseCredentials
The GCP service account credentials model.