yera.creds.schema
Pydantic schemas for the credential store.
Symbols
CredentialGroupRecord
Inherits:
BaseModelPersisted metadata for one named credential group.
Attributes
id
type: str
Stable owner identity retained when the group is renamed.
authorised_roots
type: list[str]
Project roots authorized to use the group.
SecretRecord
Inherits:
BaseModelPersisted opaque value and metadata for one secret.
Attributes
identity
type: SecretIdentity
Durable identity of the secret.
value
type: bytes
Opaque serialized secret bytes.
created_at
type: AwareDatetime
Time at which the secret was first stored.
updated_at
type: AwareDatetime
Time at which the secret was last replaced.
SecretStoreDocument
Inherits:
BaseModelVersion-two protected credential-store document.
Attributes
version
type: Literal[2]
Exact document-format version.
credential_groups
type: dict[str, CredentialGroupRecord]
Named groups containing only safe metadata.
secrets
type: list[SecretRecord]
Individually identified opaque secret records.