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